在创建项目时,只要勾选安装源就会出现
- Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
- Could not fetch URL https://mirrors.aliyun.com/pypi/simple/aniso8601/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='mirrors.aliyun.com', port=443): Max retries exceeded with url: /pypi/simple/aniso8601/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
复制代码- 查找索引:https://mirrors.aliyun.com/pypi/simple/
- 无法获取URLhttps://mirrors.aliyun.com/pypi/simple/aniso8601/:确认ssl证书时出现问题:HTTPSConnectionPool(host='mirrors.aliyun.com',port=443):使用url:/pypi/simple/anish8601/(由SSLError(“无法连接到HTTPS url,因为ssl模块不可用。”)引起)-跳过
复制代码 请问应该如何解决。
目前已经尝试修改/root/.pip下的pip.conf文件,以下为修改后的。没有任何效果。
- [global]
- index-url = http://mirrors.aliyun.com/pypi/simple
- [install]
- trusted-host = mirrors.aliyun.com
复制代码
|
|