python第三方库镜像地址

Could not fetch URL https://pypi.org/simple/jsonpath/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/jsonpath/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)'))) - skipping
ERROR: Could not find a version that satisfies the requirement jsonpath (from versions: none)
ERROR: No matching distribution found for jsonpath

发现是url的来源的问题,换成了国内的pip源就可以正常安装了,我使用的是:pip install jsonpath -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

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

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

3) http://pypi.douban.com/simple/  豆瓣

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

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

猜你喜欢

转载自www.cnblogs.com/godlove/p/11468281.html
今日推荐