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


    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

  • 相关阅读:
    Linux之网络基础
    Tomcat配置虚拟目录并发布web应用
    Linux之权限管理操作
    Linux之shell编程基础
    Python简介
    Python代码注释 Python零基础入门教程
    Python Pycharm Anacanda 区别
    Python Hello World入门
    Python2.x 和 Python3.x,如何选择?
    数据库课程设计心得【1】
  • 原文地址:https://www.cnblogs.com/fanxiaojuan/p/11354334.html
Copyright © 2020-2023  润新知