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

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002E896089A88>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/pip/ #8774

Closed
lmmiller7613 opened this issue Aug 17, 2020 · 2 comments
Labels
resolution: duplicate Duplicate of an existing issue/PR

Comments

@lmmiller7613
Copy link

  • pip version: 20.0.2-py37_1
  • Python version: 3.7.6
  • Operating system: Windows 10

I'm trying to install tkcalendar package into Visual Studio Professional 2019. I see that other people have been getting a similar error that I get and were asked to answer the following questions:

Are you able to download from PyPI with curl? Like curl https://pypi.org/simple/flask-bcrypt/ -- No
Pip tries to use the values from the HTTP_PROXY and HTTPS_PROXY environment variables, are these set? -- No
You can show the output of env | grep HTTP -- no
Is this in a typical home network or in an enterprise environment? -- enterprise environment
Has this always happened on this machine or did it start recently? -- this is the first time that I'm trying to install a package
If this worked in the past, are you on the same network that you were on then?
Can you install any other packages? -- no, I tried to install tkcalendar

This is the error that I get:
----- Installing 'pip install tkcalendar' -----
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002E896089A88>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/pip/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002E896089148>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/pip/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002E896086A88>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/pip/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002E895590748>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/pip/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x000002E895597188>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/pip/

@lmmiller7613
Copy link
Author

I don't know if pip is installed. I followed the directions on https://packaging.python.org/tutorials/installing-packages/ and 'pip' is not recognized ass in internal or external command. I downloaded get-pip.py, when when I run it, I get this error:

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/pip/
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement pip (from versions: none)
ERROR: No matching distribution found for pip
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping

@uranusjr
Copy link
Member

#8641

@uranusjr uranusjr added the resolution: duplicate Duplicate of an existing issue/PR label Aug 18, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
resolution: duplicate Duplicate of an existing issue/PR
Projects
None yet
Development

No branches or pull requests

2 participants