pypa / pip

The Python package installer
https://pip.pypa.io/
MIT License
9.37k stars 2.98k forks source link

error and WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'Aucun fichier ou dossier de ce type'))': /simple/pip/ WARNING: Retrying (Retry(total=3, connect=Non #12815

Closed aragon5956 closed 1 day ago

aragon5956 commented 4 days ago

Description

hello , i've this problem with pip3 when i installed a package like pyyaml, this warning is : (venv) alexandre@alexandre-developpeur:~/Téléchargements/php-8.3.8$ pip3 install pip-review WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'Aucun fichier ou dossier de ce type'))': /simple/pip-review/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'Aucun fichier ou dossier de ce type'))': /simple/pip-review/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'Aucun fichier ou dossier de ce type'))': /simple/pip-review/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'Aucun fichier ou dossier de ce type'))': /simple/pip-review/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'Aucun fichier ou dossier de ce type'))': /simple/pip-review/ ERROR: Could not find a version that satisfies the requirement pip-review (from versions: none) ERROR: No matching distribution found for pip-review

could you help me ?

cordially

Expected behavior

No response

pip version

pip3

Python version

python3.12

OS

ubuntu23.10

How to Reproduce

alexandre@alexandre-developpeur:~/Téléchargements/php-8.3.8$ python3.12 -m venv venv alexandre@alexandre-developpeur:~/Téléchargements/php-8.3.8$ source ./venv/bin/activate (venv) alexandre@alexandre-developpeur:~/Téléchargements/php-8.3.8$ python3.12 -m pip install --upgrade pip Requirement already satisfied: pip in ./venv/lib/python3.12/site-packages (23.2)

Output

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', FileNotFoundError(2, 'Aucun fichier ou dossier de ce type'))': /simple/pip/

Code of Conduct

ichard26 commented 4 days ago

Salut!

This seems like a system, environment or networking configuration issue. For what it's worth, pip's issue tracker is not designed to provide user support.

You will probably be better served by reaching out to peers or help forums, such as Python Discuss help category, /r/learnpython on reddit, Python Discord's #python-help channel, #python on Libera.chat (IRC), python-list or python-tutor mailing lists, or StackOverflow.

... however, my best guess is that you have some sort of (corporate/enterprise) proxy that's interrupting the connection to PyPI. See this StackOverflow post for more. You should try accessing https://pypi.org/ from the terminal or a browser to verify whether your system can connect to PyPI in the first place.

ichard26 commented 1 day ago

I'll close this issue due to a lack of a response, but feel free to follow-up if you want further help.