python 通过get-pip.py 安装 pip时报错 ERROR: No matching distribution found for pip

2021/11/4 17:14:28

本文主要是介绍python 通过get-pip.py 安装 pip时报错 ERROR: No matching distribution found for pip,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

执行python get-pip.py报错:

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(“Can’t connect to HTTPS URL because the SSL module is not available.”)) - skipping
ERROR: Could not find a version that satisfies the requirement pip
ERROR: No matching distribution found for pip

更换镜像地址解决:
python3 get-pip.py -i http://pypi.douban.com/simple --trusted-host pypi.douban.com



这篇关于python 通过get-pip.py 安装 pip时报错 ERROR: No matching distribution found for pip的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程