From: Hewey D. <pas...@gm...> - 2017-12-13 01:09:14
|
I have a pure Python app which runs correctly. Running py2exe with the option ["bundle_files" : 3], it creates the dist folder and puts all necessary files there. The EXE will run fine. Using option ["bundle_files" : 1] creates a single EXE file which, when run crashes with : Traceback (most recent call last): File "AppWindowsList.py", line 17, in <module> File "zipextimporter.pyo", line 82, in load_module File "MswDllFuncs.pyo", line 128, in <module> File "zipextimporter.pyo", line 82, in load_module File "pywin\dialogs\list.pyo", line 1, in <module> File "zipextimporter.pyo", line 82, in load_module File "pywin\mfc\dialog.pyo", line 7, in <module> File "zipextimporter.pyo", line 98, in load_module ImportError: MemoryLoadLibrary failed loading win32ui.pyd Does this mean the PYD file is corrupt ? System: Win 10 pro v1703 Python 32-bit config: python-2.7.14.msi py2exe-0.6.9.win32-py2.7 pywin32-221.win32-py2.7 Attached is my setup.py file. |