无法安装pyttsx3

时间:2017-09-05 13:59:59

标签: python install grammar pyttsx nosuchfileexception

使用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。

1 个答案:

答案 0 :(得分:0)

我找到了shell,它现在正常工作,但由于我的文件路径,它无法找到该文件。

相关问题