Answer the question
In order to leave comments, you need to log in
I can't compile a game made with pygame, what's wrong?
I made a simple game from the 90s (the same space shooter from slot machines) and now I want to compile it into an exe file (which I basically did). I transferred the resulting file to the directory with the files needed for the game (graphics and music), but I got this error:
Please help.
Answer the question
In order to leave comments, you need to log in
Python programs do not compile. You just received a self-extracting archive that contains the interpreter, all the necessary libraries and the script of your program. When launched, the working directory of the script becomes the temporary directory into which the archive was unpacked. There your script searches for game files, but does not find them.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question