I’m running python3.6.8 in ubuntu 14.04.6
pip continually fails to retrieve packages due to SSL certificate errors, despite use of options to skip SSL checking. I’ve looked at many posts on stack exchange and elsewhere but none of the proposed solutions have worked for me so far.
/etc/pip.conf looks like this:
[global]
index-url = https://pypi.org/simple
trusted-host = pypi.python.org
pypi.org
files.pythonhosted.org
http.sslVerify = false
log = /var/log/pip/pip-new.log
But when I try to install with pip:
$ python3 -m pip install colored
Collecting colored
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL] EC lib (_ssl.c:852)'),)': /simple/colored/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL] EC lib (_ssl.c:852)'),)': /simple/colored/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL] EC lib (_ssl.c:852)'),)': /simple/colored/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL] EC lib (_ssl.c:852)'),)': /simple/colored/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL] EC lib (_ssl.c:852)'),)': /simple/colored/
Could not fetch URL https://pypi.org/simple/colored/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/colored/ (Caused by SSLError(SSLError(1, '[SSL] EC lib (_ssl.c:852)'),)) - skipping
Why does pip encounter these SSL errors, despite options to skip SSL check?
Thanks!