When I try to run this code:
import pyttsx3
engine = pyttsx3.init()
engine.say("I will speak this text")
engine.runAndWait()
I get this error message:
Exception has occurred: NameError name 'sion' is not defined
During handling of the above exception, another exception occurred:
File "C:\Users\maria\OneDrive\Documents\VirtualAssistant\assistanttest.py", line 3, in <module>
engine = pyttsx3.init()
It was working fine a week ago. I've already tried uninstalling and reinstalling pyttsx3 and I've ran pip install --upgrade wheel
.