• Re: No module named _socket, on windows

    From ofek shulberg@21:1/5 to Gabriel Genellina on Sat Feb 25 15:58:35 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...@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?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From 2QdxY4RzWzUUiLuE@potatochowder.com@21:1/5 to ofek shulberg on Sun Feb 26 04:08:51 2023
    On 2023-02-25 at 15:58:35 -0800,
    ofek shulberg <ofekshulberg@gmail.com> wrote:

    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...@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?

    Gabriel's post is thirteen years old and against a truly ancient version
    of Python (on Windows XP, no less). Please repost your question.
    Include the OS and the version of Python you're using, and a copy/paste
    of the error(s) you're receiving.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)