No module named _socket, on windows

ofek shulberg ofekshulberg at gmail.com
Sat Feb 25 18:58:35 EST 2023


On Monday, January 4, 2010 at 9:19:21 PM UTC+2, Gabriel Genellina wrote:
> En Mon, 04 Jan 2010 14:24:22 -0300, louisJ <loui... 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


hi Gabriel,
i have the same problem and also pip is not installed for some reason, what can i do?


More information about the Python-list mailing list