[Python] Cannot install any packages using pip

Discussão em 'Python' iniciado por Stack, Junho 16, 2025.

  1. Stack

    Stack Membro Participativo

    Unsure where to begin on this as i've searched for a while and could not find any one with a similar issue nor any documentation (Please link if you do find one similar).

    I am unable to install any python packages using pip as I get the same error message below for each package. These timeouts even occur when trying to run py get-pip.py


    I have already tried:

    • Removing computer from work domain
    • Connecting via hotspot
    • Completely uninstalling and reinstalling python3.10, pip, pycharm and anything else relating to python
    • Ensuring my IP wasn't blacklisted from pypi
    • Checking pip documentation for any similar errors
    ​

    I know this is a very broad question so if anyone has anything else to check it would be greatly appreciated.

    Let me know if you need any other details like OS

    message `WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/requests/

    WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/requests/

    WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/requests/

    WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/requests/

    WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))': /simple/requests/

    ERROR: Could not find a version that satisfies the requirement requests (from versions: none)
    ERROR: No matching distribution found for requests

    WARNING: There was an error checking the latest version of pip.`

    Continue reading...

Compartilhe esta Página