Mar-27-2025, 01:01 PM
Hi,
probably it is not right place but it is related to Python. So I decided to ask for help in this quite tricky issue. I have Pycharm Community version 2024.3.3 and Python 3.11.9. Clear new project. Trying execute pip install requests or any other pip install and even pip3 I get the following message:
(.venv) PS C:\Users\User\PycharmProjects\PythonProject> pip3 install requests
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
I tried the same on Linux virtual machine (VMware Workstation, Kali) and pip works well. But on host with Windows11 it doesn't. Created rules in Windows defender for pip and python exe files. No success. Suspect that something in settings with OS but no idea.
May be somebody knows how to fix this issue or may be some proposals
?
probably it is not right place but it is related to Python. So I decided to ask for help in this quite tricky issue. I have Pycharm Community version 2024.3.3 and Python 3.11.9. Clear new project. Trying execute pip install requests or any other pip install and even pip3 I get the following message:
(.venv) PS C:\Users\User\PycharmProjects\PythonProject> pip3 install requests
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
I tried the same on Linux virtual machine (VMware Workstation, Kali) and pip works well. But on host with Windows11 it doesn't. Created rules in Windows defender for pip and python exe files. No success. Suspect that something in settings with OS but no idea.
May be somebody knows how to fix this issue or may be some proposals
