[cx-freeze-users] Import problems frozen app, Linux with Python 2.7.1
Brought to you by:
atuining
From: Wolfgang L. <wl...@fl...> - 2010-12-08 12:52:53
|
Hi, further test showed that every module imported by cx_Freeze in the finder and freezer is not handled correctly if it is a normal "*.py" module. This is because the already imported modules have no code object and no path attached. Some examples are: traceback.py struct.py ... If one of these modules is used by the frozen executable an ImportError happens and the application fails to start. I don't know why this happened. Testenvironment: Linux 64bit custom build Python 2.7.1 cx_Freeze svn trunk as of today. To be save frozen apps are generated with python -S (no site.py import, so no side effect can happen ;-) ) Regards, Wolfgang |