使用 python.exe,我无法在python 3.5中安装pyttsx3。我收到以下错误:
>>> import pip
>>> pip.main (['install','pyttsx3'])
Collecting pyttsx3
Downloading pyttsx3-2.6.zip
Complete output from command python setup.py egg_info:
D:\Stuff\Python\python35.zip\distutils\dist.py:261: UserWarning: Unknown distribution option: 'summary'
error: [Errno 2] No such file or directory: 'D:\\Stuff\\Python\\python35.zip\\lib2to3\\Grammar.txt'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\carriedr\AppData\Local\Temp\pip-build-0ke80vwe\pyttsx3\
1
我努力了:
- 多个其他站点
- 解压python35的副本
- 在 python 和 pythonw 下运行grammar.txt。