[wingide-users] Re: Debugging an Embedded Python Script

theDarkBrainer theDarkBrainer at gmail.com
Tue Aug 9 16:55:06 MDT 2011


ok, so, I managed to make it find the 'new' module by adding the path
'C:\Python27\Lib' to the python search path of my app (doh)

But, then I got:

Trying to import netserver from C:\Program Files (x86)\Wing IDE
4.0\bin\2.7\src\debug\tserver
Traceback (most recent call last):
  File "C:\Program Files (x86)\Wing IDE 4.0\bin\wingdb.py", line 356, in
FindNetServerModule
    import netserver
  File "C:\src\ide\bin\2.7\src/debug/tserver\netserver.pyc", line 194, in
<module>
  File "C:\Python27\Lib\socket.py", line 47, in <module>
    import _socket
ImportError: No module named _socket
Trying to import netserver from C:\Program Files (x86)\Wing IDE
4.0\src\debug\tserver
Traceback (most recent call last):
  File "C:\Program Files (x86)\Wing IDE 4.0\bin\wingdb.py", line 356, in
FindNetServerModule
    import netserver
  File "C:\src\ide\bin\2.7\src/debug/tserver\netserver.pyc", line 194, in
<module>
  File "C:\Python27\Lib\socket.py", line 47, in <module>
    import _socket
ImportError: No module named _socket

--
View this message in context: http://wingide.992054.n4.nabble.com/Debugging-an-Embedded-Python-Script-tp3725854p3731537.html
Sent from the WingIDE - User mailing list archive at Nabble.com.


More information about the wingide-users mailing list