Home > Software design >  Converted .py file to .exe and .exe file wont open properly
Converted .py file to .exe and .exe file wont open properly

Time:12-26

So I recently managed to convert a .py file into .exe but the problem is that the .exe file wont open properly. Basically what happens is the command prompt opens for a second and then shows some code for 1 milisecond and closes. I did manage to get a screenshot of what the command prompt says.Example Image

Add the path to your script and you can change any setting you want, but you'll need to add the path to your custontkinter package. Go to Additional Files -> Add Folder -> locate your python folder -> Lib -> site-packages -> customtkinter and add it

  • Related