Hi to everyone and thanks in advance
import pyttsx
engine = pyttsx.init()
engine.say('Hello World')
engine.runAndWait()
And I get this error:
Traceback (most recent call last):
File "C:\Users\xxx\eclipse\workspace\Ai_Project\AI\Ai_Brain.py", line 8, in <module>
engine = pyttsx.init()
AttributeError: 'module' object has no attribute 'init'
I am on Windows 7 using Python 2.7 and eclipse neon. Is this some kind of compatibility issue? I have searched a lot of related questions but applying the answers on my case didn't fix the error