I installed cx_freeze from Bitbucket instead, and this version worked a charm. Good work!


On Tue, May 20, 2014 at 1:57 PM, Arve Knudsen <arve.knudsen@gmail.com> wrote:
Hi guys

I've just ported a PyQt5 Windows app to Python 3.4 (32-bit) (from 2.7), but the cx_freeze generated executable no longer works. What happens is that a non-existent attribute '_fix_up_module' is accessed during bootstrapping:

Traceback (most recent call last):
  File "C:\Python34\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27, in <module>
    exec(code, m.__dict__)
  File "bin/my-app.py", line 8, in <module>
    import myapp
  File "c:\python\32-bit\3.4\lib\importlib\_bootstrap.py", line 2214, in _find_and_load
  File "c:\python\32-bit\3.4\lib\importlib\_bootstrap.py", line 2203, in _find_and_load_unlocked
  File "c:\python\32-bit\3.4\lib\importlib\_bootstrap.py", line 1191, in _load_unlocked
  File "c:\python\32-bit\3.4\lib\importlib\_bootstrap.py", line 1161, in _load_backward_compatible
AttributeError: 'module' object has no attribute '_fix_up_module'

Is this a known bug?