[python-win32] win32ui can't be found .. some places.

Mark Hammond mhammond at skippinet.com.au
Tue Feb 7 06:43:36 CET 2006


> Traceback (most recent call last):
>    File "CharmAnalysis05.py", line 24, in ?
>    File "ddeclient.pyc", line 6, in ?
>    File "pywin\mfc\object.pyc", line 3, in ?
>    File "win32ui.pyc", line 9, in ?
>    File "win32ui.pyc", line 7, in __load
> ImportError: DLL load failed: The specified module could not be found.
>
> Removing win32ui.pyc from the dist folder will produce the error on
> systems where it things work.
> It is as though it can see the DLL on some installs and not others.

The problem will be a missing mfcxx.dll (where xx depends on the version of
Python you are using).  You will probably need to redistribute that DLL
(which probably means you need an MSVC license...)

Mark



More information about the Python-win32 mailing list