更新python3.9后出现
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”)’: /simple/matploblib/
打开配置文件
sudo gedit ~/.config/pip/pip.config
加入
[install]
trusted-host=pypi.douban.com
最后配置文件为这样的 就行
[global]
index-url = http://pypi.douban.com/simple
[install]
trusted-host=pypi.douban.com
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
文章由极客之音整理,本文链接:https://www.bmabk.com/index.php/post/62993.html