[python-win32] Python Windows Socket problem after Py2exe and install

Aahz aahz at pythoncraft.com
Sat Mar 13 21:22:51 CET 2010


On Sat, Mar 13, 2010, Andrew Spagnoletti wrote:
>
> Hope this is the correct forum .

It's an acceptable one, but you probably should subscribe to
py2exe-users.

> ImportError: DLL load failed: The specified module could not be found.

Here's what I just posted to py2exe-users in response to a similar
question:

Are any of your imports buried inside "if" or "def" statements?  py2exe
uses a module-finding technique that doesn't work with those, and you'll
either need to change your code or list the modules in setup.py
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Many customs in this life persist because they ease friction and promote
productivity as a result of universal agreement, and whether they are
precisely the optimal choices is much less important." --Henry Spencer


More information about the python-win32 mailing list