mirror of
https://github.com/brentvollebregt/auto-py-to-exe.git
synced 2026-04-26 12:15:50 +03:00
[GH-ISSUE #176] No module named pyttsx3.drivers #165
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Sam-Varghese on GitHub (May 22, 2021).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/176
Hi, I have a very simple program, that is
Now after converting this to exe, I noticed that the program was not running. On running the same exe file through command prompt, in order to get the reason why the program was not able to run, I got the following error message:
I even typed pyttsx3 in the hidden import section, but the same error appeared.
I have pyttsx3 installed on my laptop, and the program was running well on vscode, but the following error occurred after converting it to an exe file. I am confused about what to do now, kindly help me to overcome this problem.
@Sam-Varghese commented on GitHub (May 22, 2021):
I needed to write
pyttsx3.driversin hidden imports which I did not write. The problem has now been solved, hence closing this issue. (Please refer to last lines of this solution)@brentvollebregt commented on GitHub (May 22, 2021):
Thank you very much for sharing your solution!
@Sam-Varghese commented on GitHub (May 22, 2021):
You're welcome 🙂. Thanks to you also for doing such amazing works for the development of the community.