Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any pip install XXX failed with ReadTimeoutError/HTTPSConnectionPool errors #9489

Closed
liron50 opened this issue Jan 23, 2021 · 1 comment
Closed

Comments

@liron50
Copy link

liron50 commented Jan 23, 2021

Any package I'm trying to install I'm getting the same error.

For example:
pip install flask (tried also pip3 instead)

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/flask/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/flask/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/flask/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/flask/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/flask/
ERROR: Could not find a version that satisfies the requirement flask (from versions: none)
ERROR: No matching distribution found for flask

I was using python 3.7.X and was able to install packages before (~year ago), but today start getting those errors. I tried uninstall python and install again, therefore now I have the latest versions:

Python 3.9.1

pip 20.2.3

(window 8.1)

I checked the connection by running "$ curl https://pypi.org" and doesn't see any error.
Tried to set timeout of 60 seconds but same error.
I'm not using proxy.

What else I could check?

@ichard26
Copy link
Member

This is likely a transient network issue with your system/network. Closing as there isn't anything actionable for us here. We do want to improve the error messaging here, however (see also PR #12818).

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants