最近初学Python, 安装第三方软件的时候总是出现下面得提示错误:
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(SSLError(1,
‘[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1123)’))) - skipping
ERROR: Could not find a version that satisfies the requirement pip
ERROR: No matching distribution found for pip
最快的解决办法:
1. 使用国内镜像:
附:镜像源
阿里云 http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
豆瓣 http://pypi.douban.com/simple
Python官方 https://pypi.python.org/simple/
v2ex http://pypi.v2ex.com/simple/
中国科学院 http://pypi.mirrors.opencas.cn/simple/
清华大学 ht