How can i remove the error occurs in importing pyttsx3? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can i remove the error occurs in importing pyttsx3?

Pyttsx3 error - No module named 'engine'

28th Jul 2019, 12:41 PM
Piyush Kumar
Piyush Kumar - avatar
3 Answers
0
Yo must not import engine. Just: import pyttsx3 engine = pyttsx3.init()
29th Jul 2019, 6:11 AM
Bilbo Baggins
Bilbo Baggins - avatar
0
Yes i do it. Yet, the error occurs.
29th Jul 2019, 8:26 AM
Piyush Kumar
Piyush Kumar - avatar
0
Just out of curiosity... What is the OS? I managed to run pyttsx3 also on Android... Could you show the exact backtrace?
29th Jul 2019, 3:58 PM
Bilbo Baggins
Bilbo Baggins - avatar