pyttsx pyttsx.init() not working
问题 So I am making a Chatbot/Virtual assistant with Python, I was searching for a text-to-speech engine for Python and found pyttsx. I downloaded it with pip (like this: sudo pip install pyttsx ) (btw I am using Linux ). I am using Python 2.7 (I tried with python 3.5 gave me the same error). I imported it and it worked but when I put (as this tutorial "told me" to https://pythonspot.com/en/speech-engines-with-python-tutorial/) engine = pyttsx.init() . The code looks like this: import pyttsx