I'm not new with Python programming, today I tried to install Django using "pip install Django" on my computer.
I'm using Python 3.9.1, pip 20.2.3, PyCharm (community) 2020.3.2 .
I've tried everything, using pip3, trying to install libraries from pycharm termianl and from the pycharm interpreter configuration, I even format my computer(full foramt and the quick foramt) and nothing helped my.
I searched for similar problems here but all of them didn't work.
I get this problem over and over again (I tried to set the timeout to 100, and my internet connection is good and fast enough): (in this tryout I've tried to install numpy library, I get the same problem with every library that I tried)
(venv) C:UsersachikPycharmProjectsfirst>pip install numpy
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/numpy/
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/numpy/
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/numpy/
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/numpy/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnection
Pool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/numpy/
ERROR: Could not find a version that satisfies the requirement numpy (from versions: none)
ERROR: No matching distribution found for numpy
Please help me, I'm about to lose my mind
UPDATE:
I formatted my computer and reinstall windows 10, installed python
3.7 and older version of PyCharm and it didn't work.
I formatted again my pc and installed Ubuntu 18.04 lts and again I have the same problem.
PLEASE help me!
question from:
https://stackoverflow.com/questions/65866835/errors-while-using-pip-install-on-windows-10-and-ubuntu-18-04-lts 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…