[Distutils] win32 installer only works on one machine

Phil Morefield philmorefield at yahoo.com
Tue Oct 19 23:44:13 CEST 2010

I'm putting together a Windows installer for a module. A pre-built DLL file is 
being included. I use the command: 

"python setup.py bdist_wininst"

with a couple of module specific commands and there are no warning or errors. As 
far as I can tell everything is built correctly. When I execute the installer on 
that same machine, the module imports fine and I'm off and running.

But when I use the same installer on a different machine, the module will not 
import correctly. The error message is:

ImportError: DLL load failed: The specified module could not be found.
The DLL is being placed in "C:\Python26\DLLs". That location is in sys.path. I 
see all of the same files on both machines (so far). I'm totally lost. 

Can anyone throw some ideas out there? Are there any details I can provide that 
might help?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20101019/e59695ea/attachment.html>

More information about the Distutils-SIG mailing list