DEV Community

Discussion on: How to convert .py to .exe? Step by step guide.

Collapse
 
echoos1 profile image
Echoos1

Hi!
When I compile my tkinter program, I get no errors. However, when I try to run it, I get "Fatal Error Detected - Failed to run script myprogram". I've gotten it to work on a console based program but not this window based one (I am selecting "Window Based" in the setup).

Thanks!

Collapse
 
eshleron profile image
Eshleron

Hi!

  1. Usually recompiling helps.
  2. If it doesn't help then let me see your error code/message, maybe smt will be in it that can help.
  3. Try to check manually for your libraries in the project folder (paste them there if they are missing)

Some comments have been hidden by the post's author - find out more