Hi guys! I wrote a minesweeper script. I add an option to make the program remember the difficulty(If I play in advance mode and close the program, then when I play again, I do it in advance mode unless I change it . It does perfectly works on interpreter, but when I py2exe it doesn't works and returns this error.
Unhandled exception in thread started by <bound method MyThread.__bootstrap of <MyThread(Thread-1, stopped)>> Traceback (most recent call last): File "threading.pyc", line 462, in __bootstrap File "threading.pyc", line 499, in __bootstrap_inner File "C:\Python25\lib\site-packages\py2exe\boot_common.py", line 62, in write import atexit File "modulepythong.pyc", line 111, in miimport ImportError: No module named atexit
I think the problem is cause by module pickle, because if I quit that "remembering" feature, It works when I py2exe it