I recently compiled a really simple application using GUI2exe / py2exe and it works great on 4 machines, but gives me this error on 2 others:
Traceback (most recent call last):
File "TaxListCtrl.py", line 12, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "wx\__init__.pyo", line 45, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "wx\_core.pyo", line 4, in <module>
File "zipextimporter.pyo", line 98, in load_module
ImportError: MemoryLoadLibrary failed loading wx\_core_.pyd
I'm using the option to bundle it all into a single file. The operating system is Windows XP. I'm using wxPython 2.8.8.0 and Python 2.5. The last time this happened, it was because I hadn't included "msvcp71.dll", but I didn't forget that this time. Any hints are appreciated
Maybe there are some other dlls that wx needs, but cannot be found. Try Dependency Walker - Wikipedia pn the _core_.pyd file on these machines (.pyd is just another name for .dll). The missing dlls are then highlighted in red.
-Matthias
···
Am 31.07.2008, 15:35 Uhr, schrieb Mike Driscoll <mike@pythonlibrary.org>:
Hi,
I recently compiled a really simple application using GUI2exe / py2exe and it works great on 4 machines, but gives me this error on 2 others:
Traceback (most recent call last):
File "TaxListCtrl.py", line 12, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "wx\__init__.pyo", line 45, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "wx\_core.pyo", line 4, in <module>
File "zipextimporter.pyo", line 98, in load_module
ImportError: MemoryLoadLibrary failed loading wx\_core_.pyd
I'm using the option to bundle it all into a single file. The operating system is Windows XP. I'm using wxPython 2.8.8.0 and Python 2.5. The last time this happened, it was because I hadn't included "msvcp71.dll", but I didn't forget that this time. Any hints are appreciated
I recently compiled a really simple application using GUI2exe / py2exe and it works great on 4 machines, but gives me this error on 2 others:
Traceback (most recent call last):
File "TaxListCtrl.py", line 12, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "wx\__init__.pyo", line 45, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "wx\_core.pyo", line 4, in <module>
File "zipextimporter.pyo", line 98, in load_module
ImportError: MemoryLoadLibrary failed loading wx\_core_.pyd
I'm using the option to bundle it all into a single file. The operating system is Windows XP. I'm using wxPython 2.8.8.0 and Python 2.5. The last time this happened, it was because I hadn't included "msvcp71.dll", but I didn't forget that this time. Any hints are appreciated
Maybe there are some other dlls that wx needs, but cannot be found. Try Dependency Walker - Wikipedia pn the _core_.pyd file on these machines (.pyd is just another name for .dll). The missing dlls are then highlighted in red.
-Matthias
</div>
Maybe, but our machines are supposed to be set up all the same. Anyway, I used bundle option 3 instead of 1 and that worked. It results in a lot more files, but in this case it doesn't matter. Especially since I don't have exclusive access to the PC that was being churlish.
Thanks for reminding me of that tool though. I had forgotten all about it.
Mike
···
31.07.2008, 15:35 Uhr, schrieb Mike Driscoll <mike@pythonlibrary.org>: