I have been struggling for some time with a strange failure of py2exe.

When I include the dde.py module in a freeze with py2exe and copy the  
dist folder to another computer (w/o python)
On some computers it works and others it doesn't (all are recent XP  
installs)

I get this message:

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.

I'm stumped! Writing scripts that print the path, prefix etc. to a  
file shows that the code in win32ui.py  can determine paths correctly.


Terry Acree

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to