Could not install packages due to an OSError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/cd/77/59df23681f4fd19b7cbbb5e92484d46ad587554f5d490f33ef907e456132/Flask-2.0.3-py3-none-any.whl (Caused by ConnectTimeoutError(<pip._vendor.urllib3.connection.HTTPSConnection object at 0x00000285CC282940>, 'Connection to files.pythonhosted.org timed out. (connect timeout=15)'))
Asked
Active
Viewed 759 times
1 Answers
0
You are not connected to internet or you have slow connection or check if your behind a proxy or check this question or Connection to pypi.org timed out

Devil Ishere
- 185
- 1
- 13
-
I'm connected to the wifi and the network speed is really good but still, it doesn't work. – Dev Paliwal Feb 26 '22 at 08:31
-
Check if your behind a proxy or https://stac – Devil Ishere Feb 26 '22 at 09:27
-
Or this https://stackoverflow.com/questions/57648998/connection-to-pypi-org-timed-out – Devil Ishere Feb 26 '22 at 09:33
-
Thank you very much, It works the proxy thing. – Dev Paliwal Feb 28 '22 at 15:32
-
Accept and upvote my answer then – Devil Ishere Feb 28 '22 at 15:33
-
For upvote, I need atleast 15 reputations. – Dev Paliwal Feb 28 '22 at 16:26