【BUG记录】python管理器[2.0] python3.10版本无法安装包
没安装3.10版本之前其他版本是可以正常安装依赖的,安装了3.10版本之后切换其他版本也会提示SSLError
系统:CentOS 7.9.2009 x86_64(Py3.7.9)
注意卸载的时候也会提示Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Could not fetch URL https://mirrors.aliyun.com/pypi/simple/gunicorn/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='mirrors.aliyun.com', port=443): Max retries exceeded with url: /pypi/simple/gunicorn/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
Could not fetch URL https://mirrors.aliyun.com/pypi/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='mirrors.aliyun.com', port=443): Max retries exceeded with url: /pypi/simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
之前的 管理器版本没这个问题 好的,已经记录,等待测试 堡塔安全赤井秀一 发表于 2022-3-11 22:59
好的,已经记录,等待测试
急~·~~~~~~~~~~~ Virace 发表于 2022-3-13 12:42
急~·~~~~~~~~~~~
没测出来,你换其他源试试吧,比如这个豆瓣的
cat << EOF > ~/.pip/pip.conf
index-url = http://pypi.douban.com/simple/
trusted-host = http://pypi.douban.com
EOF直接点上方的复制代码,粘贴执行,然后重新执行你的程序
页:
[1]