Skip to content

Pip SSL error #7757

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

Closed
henrykironde opened this issue Feb 19, 2020 · 3 comments
Closed

Pip SSL error #7757

henrykironde opened this issue Feb 19, 2020 · 3 comments

Comments

@henrykironde
Copy link

I need help, if anyone has got something like this.

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

Mac os
Python version: 3.6
pip version. latest . I know that I updated and after updating, i got errors

@ghost ghost added the S: needs triage Issues/PRs that need to be triaged label Feb 19, 2020
@uranusjr
Copy link
Member

Did you compile the Python installation yourself? Some modules (e.g. ssl in this case) in CPython are “optional” and only linked when their dependencies are satifsied at compile time. For ssl you need to install OpenSSL (and recompile CPython).

@henrykironde
Copy link
Author

I did not compile it myself but I can try as suggested

@pradyunsg
Copy link
Member

Consolidating into #8473.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 16, 2023
@pradyunsg pradyunsg removed the S: needs triage Issues/PRs that need to be triaged label Mar 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants