I just installed pyttsx3 and start to write the code but it gives a long module type error when I run the code. Especially engine=pyttsx3.init()
It gives me an error that code in the file of pyttsx3 is wrong.
I’m using vs code for this.. I also try to create a virtual environment but it won’t help me
I’m using MacOs Monterey
Someone said to change the code with engine=pyttsx3.init(“dummy”)
The errors are fixed but it’s not working as per expectations. As I don’t listen the voice I also included the speech_recognition library
Help me to correct these errors
Farqleet Ahmed Sheikh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.