I'm completely unfamiliar with Windows, and I'm finding it so much harder to use than Linux. I feel like a complete idiot trying to compile something to exe. I did manage to get a Hello World script compiled okay, but I can't get a simple test pygame script to compile. I used the pygame2exe script here:
http://www.pygame.org/wiki/Pygame2exe I put it in a directory with my test script test.py, changed the stuff in BuildExe.__init__, and ran it in IDLE. It seemed to work for a while, but eventually died with this traceback: *** finding dlls needed *** *** create binaries *** *** byte compile python files *** writing byte-compilation script 'c:\users\christ~1\appdata\local\temp\tmplkizod.py' C:\Python26\pythonw.exe -OO c:\users\christ~1\appdata\local\temp\tmplkizod.py Traceback (most recent call last): File "C:/Users/christopher/Desktop/pygame-test/pygame2exe.py", line 155, in <module> BuildExe().run() #Run generation File "C:/Users/christopher/Desktop/pygame-test/pygame2exe.py", line 146, in run dist_dir = self.dist_dir File "C:\Python26\lib\distutils\core.py", line 169, in setup raise SystemExit, "error: " + str(msg) SystemExit: error: command 'C:\Python26\pythonw.exe' failed with exit status 1 Am I even on the right track? Is py2exe the best tool to use for compiling pygame-based programs, and if so, is this the right script to use? If so, what's with the error I'm getting? I'm hopeless debugging anything in Windows. When I try running that line (C:\Python26\pythonw.exe -OO c:\users\christ~1\appdata\local\temp\tmplkizod.py), it just exits without any output, leaving me with no clue what the problem is. Any advice at all would be much appreciated. Thanks! Christopher