[Python] Python- Unable to install pip on windows-No matching distribution found for pip

Discussão em 'Python' iniciado por Stack, Abril 13, 2025.

  1. Stack

    Stack Membro Participativo

    I am trying to install pip library on Windows 8. Current python version - 2.7.3. I downloaded get-pip.py from https://pip.pypa.io/en/stable/installing/

    On command prompt (as Administrator) when I execute the following command Python get-pip.py, I get following error. I am running this on my company network. Does this command expect me to provide ip address? I tried searching for a solution , but could not get satisfactory answer. Is there solution to it?If not is there any alternative to it? Please suggest

    C:\windows\system32>cd C:\Python27

    C:\Python27>python get-pip.py
    Collecting pip
    Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connec
    tion broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.conne
    ction.VerifiedHTTPSConnection object at 0x03654450>: Failed to establish a new c
    onnection: [Errno 10061] No connection could be made because the target machine
    actively refused it',)': /simple/pip/
    Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connec
    tion broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.conne
    ction.VerifiedHTTPSConnection object at 0x03654490>: Failed to establish a new c
    onnection: [Errno 10061] No connection could be made because the target machine
    actively refused it',)': /simple/pip/
    Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connec
    tion broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.conne
    ction.VerifiedHTTPSConnection object at 0x03654410>: Failed to establish a new c
    onnection: [Errno 10061] No connection could be made because the target machine
    actively refused it',)': /simple/pip/
    Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connec
    tion broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.conne
    ction.VerifiedHTTPSConnection object at 0x03654150>: Failed to establish a new c
    onnection: [Errno 10061] No connection could be made because the target machine
    actively refused it',)': /simple/pip/
    Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connec
    tion broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.conne
    ction.VerifiedHTTPSConnection object at 0x03654550>: Failed to establish a new c
    onnection: [Errno 10061] No connection could be made because the target machine
    actively refused it',)': /simple/pip/
    Could not find a version that satisfies the requirement pip (from versions: )
    No matching distribution found for pip

    C:\Python27>

    Continue reading...

Compartilhe esta Página