0

I made a python game (includes pygame) and used cx_Freeze to convert it into an executable and also a .msi installer file. When I go to open both of these, either the installed version or the executable, the command prompt flashes briefly before closing and then the game never opens.

I've reinstalled cx_Freeze, I've reinstalled it correctly. My python game works fine in the IDLE. What's going on?

lt468
  • 81
  • 1
  • 7
  • Have you tried one of the following: put in a time.sleep() after displaying; tell it to wait for a key to be pressed before continuing/closing. – Dlamini Mar 10 '18 at 13:53
  • If you build the executable as a console app and run the program from a command prompt, you should see some errors that will help you identify the issue. – import random Mar 11 '18 at 22:03

0 Answers0