python – Installing packages with pip on my centos server times out with an warnings and error
This is the error i get. Am using python3
pip install django
Collecting django
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host="pypi.python.org", port=443): Read timed out. (read timeout=15)",)': /simple/django/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host="pypi.python.org", port=443): Read timed out. (read timeout=15)",)': /simple/django/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host="pypi.python.org", port=443): Read timed out. (read timeout=15)",)': /simple/django/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host="pypi.python.org", port=443): Read timed out. (read timeout=15)",)': /simple/django/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host="pypi.python.org", port=443): Read timed out. (read timeout=15)",)': /simple/django/
Could not find a version that satisfies the requirement django (from versions: )
No matching distribution found for django
Read more here: Source link