Question

I am having a problem when trying to create an executable with cx_freeze. I have already created an exe from my code but it would not work on 32 bit PC's. To solve that problem, I uninstalled the 64 bit of Python, cx_freeze, and PyQt4(what I am using for the GUI). I then installed all the 32 bit equivalents of those programs. This is when things start to go wrong...

I can run the program fine through the .py file, but when I try to build the program and run it, I get this error window:

How would I be able to solve this?

Était-ce utile?

La solution

Unfortunately, it seems that there's something wrong with the latest release of cx_Freeze on Windows 32 bit. An issue has been filed for it here, but there's no good answer yet: https://bitbucket.org/anthony_tuininga/cx_freeze/issue/59/sre_constantserror-nothing-to-repeat .

Some people have reported that using the previous release (from here) worked for them.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top