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

Andrew Spagnoletti andrews at korbitec.com
Sat Mar 13 16:39:48 CET 2010


Hi,

 

Hope this is the correct forum .

 

I have a Windows Python 2.5 (using wxPython) application, which works
fine until I 'compile' with py2exe (i.e. the installed program does not
work - although the 'test' in py2exe does).

 

I use urllib to add functionality to send an SMS from my program (via
www.bulksms.co.za) and it works great, but after running py2exe and
creating an install using Windows Advanced Installer, the installation
completes but when I run the program I get this error traceback in the
Program Files log file (changed the file names): -

 

Traceback (most recent call last):

  File "xxxStart.py", line 9, in <module>

  File "xxxMain.pyo", line 17, in <module>

  File "xxxRecordActivity.pyo", line 18, in <module>

  File "xxxSMS.pyo", line 4, in <module>

  File "urllib.pyo", line 26, in <module>

  File "socket.pyo", line 45, in <module>

  File "_socket.pyo", line 12, in <module>

    

  File "_socket.pyo", line 10, in __load

    

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

 

Any ideas?

 

 

 

Andrew Spagnoletti

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20100313/88e78fe3/attachment.html>


More information about the python-win32 mailing list