#130 ImportError: MemoryLoadLibrary failed loading _psutil_mswind

open
nobody
None
7
2014-03-13
2013-02-05
Anonymous
No

py2exe fails to load _psutil_mswindows with bundle level set to 1 or 2. Here is the link to psutil http://code.google.com/p/psutil/.

File "zipextimporter.pyo", line 82, in load_module
File "psutil\__init__.pyo", line 76, in <module>
File "zipextimporter.pyo", line 82, in load_module
File "psutil\_psmswindows.pyo", line 16, in <module>
File "zipextimporter.pyo", line 98, in load_module
ImportError: MemoryLoadLibrary failed loading _psutil_mswindows.pyd

_psutil_mswindows.pyd is being included in the exe, but it can't be loaded while compiled for some reason and the MemoryLoadLibrary traceback isn't very helpful. Works fine with bundle level 3.

Win7
python 2.7.2
py2exe 0.6.9

Discussion


  • Anonymous
    2013-02-05

    • priority: 5 --> 7