I made a game with Pygame which I successfully converted to an .exe file a while ago, but now that I've made a newer version of it, converting it with py2exe gives me the following error:
Adding python27.dll as a resource to C:/Python/dist/game.exe
Fatal Python error: <pygame parachute> Segmentation Fault
The application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
The funny thing is that this doesn't work for the old file anymore either. I already know of the issue with fonts, which I already resolved before first converting the game to an executable file. So it doesn't seem like it's an issue with the actual game and I can't figure out what else could be the problem. Also I'm not sure if the error is actually the python27.dll file (it's under C:\Windows\System32\python27.dll ) or another DLL that was supposed to be added after that. I can't remember adding any extra modules or anything since the last time I used py2exe either. In any case, I've also tried excluding the DLLs mentioned here, but that didn't help either. I'd also like to note I didn't switch computer for the time being or update it or something of the like.
Another attempt I have made was using Python2.7.7 instead of 2.7.6, but it didn't seem to work with either of them. The program goes as far as copying the python27.dll into the Python27/build folder, but it doesn't compile it into the game file afterwards.
This is the code I was using the whole time.
Python version: 2.7.7, Pygame version: 1.9.1, Py2exe version: 0.6.9