IT

python SSL error

roselumi 2018. 8. 21. 17:24

Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None))

after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFI

ATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certif

cate (_ssl.c:1045)'))': /packages/5f/25/e52d3f31441505a5f3af41213346e5b6c221c9e

86a166f3703d2ddaf940/pip-18.0-py2.py3-none-any.whl

 Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None))

after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFI

ATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certif

cate (_ssl.c:1045)'))': /packages/5f/25/e52d3f31441505a5f3af41213346e5b6c221c9e

86a166f3703d2ddaf940/pip-18.0-py2.py3-none-any.whl

 Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None))

after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFI

ATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certif

cate (_ssl.c:1045)'))': /packages/5f/25/e52d3f31441505a5f3af41213346e5b6c221c9e

86a166f3703d2ddaf940/pip-18.0-py2.py3-none-any.whl

 Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None))

after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFI

ATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certif

cate (_ssl.c:1045)'))': /packages/5f/25/e52d3f31441505a5f3af41213346e5b6c221c9e

86a166f3703d2ddaf940/pip-18.0-py2.py3-none-any.whl

 Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None))

after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFI

ATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certif

cate (_ssl.c:1045)'))': /packages/5f/25/e52d3f31441505a5f3af41213346e5b6c221c9e

86a166f3703d2ddaf940/pip-18.0-py2.py3-none-any.whl

ould not install packages due to an EnvironmentError: HTTPSConnectionPool(host=

files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/5f

25/e52d3f31441505a5f3af41213346e5b6c221c9e086a166f3703d2ddaf940/pip-18.0-py2.py

-none-any.whl (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICAT

_VERIFY_FAILED] certificate verify failed: unable to get local issuer certifica

e (_ssl.c:1045)')))



C:\Users\gomstone\Desktop>

python -m pip install --trusted-host pypi.python.org -

-trusted-host files.pythonhosted.org --trusted-host pypi.org --upgrade pip

Collecting pip


brianmxwll answer

https://github.com/pypa/pip/issues/5288