Python开发调用语音模块报错:TypeError:NoneTypetakesnoarguments
2018-06-27 10:27
615 查看
安装了pyWin32,PythonWin前提下:运行报错:TypeError:NoneTypetakesnoarguments
解决办法:1.在python36目录中找到pythonwin文件夹python36/lib/site-packages/pythonwin2.在pythonwin文件夹下找到Pythonwin文件3.双击Pythonwin运行4.然后选择工具tools/commakepyutility
5.然后选择MicrosoftSpeechObjectLibrary5.4,点击OK键
遇到过双击运行Pythonwin.exe ,无法运行报错,最后查出原因是python 版本问题,换成3.6.5就OK了 ,此处忘记截图。。
python version 3.6.5
相关文章推荐
- python:TypeError: this constructor takes no arguments解决方法
- TypeError: this constructor takes no arguments(Python 学习遇到的错误1)
- Python 3.5 + PyInstaller 3.2.1打包exe出错,TypeError: read() takes no keyword arguments
- type error:this constructor takes no arguments的错误提示(python)
- python 使用装饰器提示:TypeError: wrapper() takes no arguments (1 given)
- Python中报错提示:TypeError: Student() takes no arguments
- python之TypeError: this constructor takes no arguments
- TypeError: this constructor takes no arguments
- Python_TypeError:object() takes no parameters
- python中新手定义类时出现的致命的小问题之TypeError: object() takes no parameters
- python "TypeError: object() takes no parameters"
- python 调用super()初始化报错“TypeError: super() takes at least 1 argument”
- python报错 TypeError: object() takes no parameters
- python __def__ Exception AttributeError: "'NoneType' object has no attribute
- Python开发:AttributeError: 'Class_Of_LoanUseCase' object has no attribute '_type_equality_funcs'
- TypeError: this constructor takes no arguments
- python 调用super()初始化报错“TypeError: super() takes at least 1 argument”
- 在Python中TypeError: object() takes no parameters新手问题的解决办法
- Python3问题TypeError: object() takes no parameters
- [Python][转]Exception AttributeError: "'NoneType' object has no attribute