美文网首页
Could not fetch URL https://pypi

Could not fetch URL https://pypi

作者: wangtieshan | 来源:发表于2018-04-09 10:08 被阅读0次

    Could not fetch URL https://pypi.python.org/simple/opencv-python/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661) - skipping

    证书问题

    1. 升级 pip

    • pip 本身都要问题,故 pip install pip 不可用

    • 手动安装

    steps:

    1. https://pypi.org/project/pip/

    2. 解压

    tar -zxvf

    3. python setup.py install

    4. success

    2. 跳过 ssl 校验

    使用一下命令安装

    pip --trusted-host pypi.python.org install <包名>
    

    相关文章

      网友评论

          本文标题:Could not fetch URL https://pypi

          本文链接:https://www.haomeiwen.com/subject/kwmbhftx.html