While installing pyttsx3: Command errored out with exit status 1

前端 未结 4 1262
死守一世寂寞
死守一世寂寞 2020-11-28 17:12
$ pip install pyttsx3
Collecting pyttsx3
  Using cached pyttsx3-2.80-py3-none-any.whl (39 kB)
Collecting pyobjc>=2.4
  Using cached pyobjc-6.1-py3-none-any.whl (2         


        
相关标签:
4条回答
  • 2020-11-28 17:22

    Try to run the following command

    pip install git+git://github.com/nateshmbhat/pyttsx3.git
    

    It worked for me

    I got the above command from pyttsx3 github issues

    0 讨论(0)
  • 2020-11-28 17:24

    First try installing wheel pip install wheel Then you can install pyttsx3, pip install pyttsx3, this should work for you.

    0 讨论(0)
  • 2020-11-28 17:29

    It's a bug in pyttsx3 2.80: https://github.com/nateshmbhat/pyttsx3/issues/82. No fix yet. Try downgrading to pyttsx3 2.71:

    pip install -U pyttsx3==2.71
    
    0 讨论(0)
  • 2020-11-28 17:29

    If you are using Python 3.x, then you will be using PIP3. To install pyttsx3 for Python 3.x, you will have to use pip3.

    If you are using Linux based OS, use the following command.

    pip3 show pyttsx3
    

    If you are using Windows,

    pip3 install pywin32 pypiwin32 pyttsx3
    

    This copied from Bhutan IO. They have shared interesting examples, in the link given below with YouTube tutorial too. How to Install pyttsx 3 in Windows

    0 讨论(0)
提交回复
热议问题