ModuleNotFoundError: No module named 'engine' while running pyttsx

When I run this code I always get this error: ModuleNotFoundError: No module named ‘engine’. import pyttsx engine = pyttsx.init() engine.say(‘hello world’) Does anyone know why this is happening and how to fix it? >Solution : Use pyttsx3 package instead that supports both python 2 and 3. You can install it for example with pip… Read More ModuleNotFoundError: No module named 'engine' while running pyttsx