[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1076)'))) - skipping

C:\Users>pip list
Package Version
------------ -------
behave 1.2.6
configparser 3.7.4
ddt 1.2.1
parse 1.12.0
parse-type 0.5.2
pip 19.2.2
PyHamcrest 1.9.0
selenium 3.141.0
setuptools 40.8.0
six 1.12.0
urllib3 1.25.3
xlrd 1.2.0
xlutils 2.0.0
xlwt 1.3.0
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(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1076)'))) - skipping

 

解决办法:pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org  --upgrade  baostock

 

问题解决:

C:\Users>pip list
Package Version
--------------- -------
baostock 0.8.8
behave 1.2.6
configparser 3.7.4
ddt 1.2.1
numpy 1.17.0
pandas 0.25.0
parse 1.12.0
parse-type 0.5.2
pip 19.2.2
PyHamcrest 1.9.0
python-dateutil 2.8.0
pytz 2019.2
selenium 3.141.0
setuptools 40.8.0
six 1.12.0
urllib3 1.25.3
xlrd 1.2.0
xlutils 2.0.0
xlwt 1.3.0

 

posted on 2019-08-14 19:57  飞在天边的大雁  阅读(3574)  评论(0编辑  收藏  举报