Pyttsx Error: Cannot Find Module Named Drivers
I am still a novice when it comes to python, and recently I have attempted to construct a personal assistant. I am using the PyTTSX module, but when I attempt to initialize the pac
Solution 1:
There is now a python3 compatible version of pyttsx and is called pyttsx3
just use pip install pyttsx3
Its usage is almost same as that of pyttsx
importpyttsx3engine= pyttsx3.init()
engine.say("hello")
engine.runAndWait()
Solution 2:
You've probably downloaded the version of PyTTSX from the website, which was built for Python 2. The updated version can be found on GitHub here. Copy the contents of pyttsx/pyttsx into your pythonXX/Lib/site-packages/pyttsx folder and you should be good to go.
Post a Comment for "Pyttsx Error: Cannot Find Module Named Drivers"