Freezing an app using win32com and wxPython
Jean-Claude Wippler
jcw at equi4.com
Sat Feb 5 11:28:07 EST 2000
Calishar wrote:
[...]
> When I have installed the application on my test (never had python
> installed) system, and try to run it, I get the following.
>
> Initialsing 'pywintypes'
> Initialising 'pythoncom'
> Initialising 'win32ui'
> Traceback (innermost last):
> File "c:\progra~1\python\sifex\sifex.py", line 1, in ?
> File "C:\PROGRA~1\PYTHON\win32com\client\__init__.py", line 8, in ?
> File "C:\PROGRA~1\PYTHON\win32com\client\dynamic.py", line 22, in ?
> ImportError: DLL load failed: A device attached to the system is not
> functioning.
>
> I have copied python15.dll, python15.lib, pythoncom15.dll, and
> pywintypes.dll to the c:\windows\system directory, and I have setup
> registry entried pointing to pythoncom15 and pywintypes (under
> Local_Machine\Software\\Python\PythonCore\Modules (actually I exported
> the regeistry entries for these modules from my development system)
By pure coincidence, I had what looks like the same problem 2 days ago.
It turns out that I had to replace mfc42.dll in c:\windows\system\ by a
newer one. Perhaps this works for you too...
-- Jean-Claude
More information about the Python-list
mailing list