Pip error(VirtualBox Ubuntu):pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available
Sebastian Wright
When i use pip download biopython or any other packages:
# python -m pip install package-nameerror:
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.