No module named _socket, on windows

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Mon Jan 4 14:19:21 EST 2010


En Mon, 04 Jan 2010 14:24:22 -0300, louisJ <louisrom1 at gmail.com> escribió:

> I installed python 2.6 (from python.org) for windows XP, and then
> Pylab.
> When I type "import pylab" in a python shell it shows the error:
>
> ImportError: No module named _socket

Open the Python command line, type the following lines, and tell us what  
happens:

Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit  
(Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import socket
>>> socket._socket
<module '_socket' from 'd:\apps\python26\DLLs\_socket.pyd'>


-- 
Gabriel Genellina




More information about the Python-list mailing list