Python Forum

Full Version: pip install error sslError
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have installed python 3.7.3 and pip install is showing sslerror. this is the full error.
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting ipykernel
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/ipykernel/
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/ipykernel/
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/ipykernel/
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/ipykernel/
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/ipykernel/
Could not fetch URL https://pypi.org/simple/ipykernel/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/ipykernel/ (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 ipykernel (from versions: none)
ERROR: No matching distribution found for ipykernel
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
I guess this is Anaconda on Windows?
Try install OpenSSL in Windows link.
I think you can try without installing OpenSSL
Try fixing the problem by finding the openssl.exe in youur python installation and update your user PATH variable
for instance:
C:\ProgramData\Anaconda3\Library\bin - this is the direcrory where openssl.exe resides and this should be added to PATH variable