[python-win32] help, ImportError: MemoryLoadLibrary failed loading win32ui.pyd!!!

Mike Driscoll mdriscoll at co.marshall.ia.us
Tue Jun 16 18:15:27 CEST 2009

Sweet Boy wrote:
> hi, well i got this exception when i run my .exe
> Traceback (most recent call last):
>  File "new.py", line 2, in (module)
>  File "zipextimporter.pyc", line 98, in load_module
> ImportError: MemoryLoadLibrary failed loading win32ui.pyd
> this is my script to make .py to .exe:
> from distutils.core import setup
> import py2exe
> setup(console=["new.py"],
>       options={"py2exe": {"bundle_files": 1}},
>       )
> how i can fix this problem?

This is more of a py2exe issue than a pywin32 issue. Try setting the 
bundle_files option to "3" instead. I've found that option "1" can be 

- Mike

More information about the python-win32 mailing list