I am using Python3.7 on Win10. I would like to use Pyttsx but it shows an error. Do you have any idea how to fix the issue?
Error:
Traceback (most recent call last): File "C:\Python37\myTest\test.py", line 2, in import pyttsx File "C:\Python37\lib\site-packages\pyttsx__init__.py", line 18, in from engine import Engine ModuleNotFoundError: No module named 'engine'
test.py:
import pyttsx
engine = pyttsx.init()
engine.say('Good morning.')
engine.runAndWait()
init.py:
from engine import Engine
engine.py:
class Engine(object):
def __init__(self, driverName=None, debug=False):