欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 编程问答 >内容正文

编程问答

Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate

发布时间:2023/12/20 编程问答 41 豆豆
生活随笔 收集整理的这篇文章主要介绍了 Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

安装jsonpath:>pip install jsonpath

报错: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 SSLEr
ror(SSLError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)’),)) - skipping

解决办法:更换镜像源
pip install jsonpath -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

  • http://mirrors.aliyun.com/pypi/simple/ 阿里云

  • https://pypi.mirrors.ustc.edu.cn/simple/ 中国科技大学

  • http://pypi.douban.com/simple/ 豆瓣

  • https://pypi.tuna.tsinghua.edu.cn/simple/ 清华大学

  • http://pypi.mirrors.ustc.edu.cn/simple/ 中国科学技术大学

  • 参考 :戳这里

    创作挑战赛新人创作奖励来咯,坚持创作打卡瓜分现金大奖

    总结

    以上是生活随笔为你收集整理的Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate的全部内容,希望文章能够帮你解决所遇到的问题。

    如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。