0

So basically I made this game is pygame and I am trying to compile it into an exe with not much luck. Originally I was having problems with pickle, I don't know why, but I managed to solve them. I'm letting you know but I think this problem might be related to that.

Anyway, when I started off I compiled a test program and everything worked fine. I compile my game with no errors or anything like that, and when I go to the folder with my newly compiled game and try to execute it, it crashes after 1 second.

But I get no error message from cx_freeze, it just quits and then windows says main.exe has stopped working. Does any one know why this might be happening at all?

I already have import re in my code and import pygame._view

The-IT
  • 600
  • 8
  • 19
  • try a version of the code that doesn't use shelve – Kevin Klute Jul 21 '13 at 05:32
  • I'm not using shelve. Just standard pickling and unpickling. Are you suggesting that I don't use pickle at all? Because that would mean some extremely annoyingly large changes to my code. – The-IT Jul 21 '13 at 05:41
  • sorry i read pickle and thought shelve... I was suggesting you try it without pickle to see if pickle is the problem. – Kevin Klute Jul 21 '13 at 05:42

0 Answers0