ubuntu更换pip源出现的问题he repository located at pypi.douban.com is not a trusted or secure host and.....

更换源正常方式:

修改vim ~/.pip/pip.conf

[global]
index-url = http://pypi.douban.com/simple
[install]
trusted-host = pypi.douban.com

遇到问题,更换后pip安装一直出现

he repository located at pypi.douban.com is not a trusted or secure host and.....

处理方式很简单,直接重启虚拟机,接着安装即可

https://blog.csdn.net/qq_35451572/article/details/79516563

猜你喜欢

转载自blog.csdn.net/weixin_42670402/article/details/86212485
今日推荐