Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

Pip error(VirtualBox Ubuntu):pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available

Writer Sebastian Wright

When i use pip download biopython or any other packages:

# python -m pip install package-name

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/biopython/
Could not fetch URL There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/biopython/ (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 biopython (from versions: none)
ERROR: No matching distribution found for biopython
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL 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 
# python -V
Python 3.9.0
# python -m pip -V
pip 20.2.3 from /usr/local/python3.9.0/lib/python3.9/site-packages/pip (python 3.9)

Try the method mentioned in Cannot use pip (ubuntu) [pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. ]

# pip3 install --user biopython 

and have the same error with #python -m pip install biopythonI also tried the method in but in the /Modules can't find "Setup.dist" but have "Setup", so I uncomment the code of Setup,but it's doesn't work.

3 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

scf_dreamer is a new contributor. Be nice, and check out our Code of Conduct.

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy