pycharm The repository located at pypi.douban.com is not a trusted or secure
首先在window的文件夹窗口输入 : %APPDATA%
image.png然后在底下新建pip文件夹,然后到pip文件夹里面去新建个pip.ini,然后再里面输入内容[global]
timeout = 6000
index-url = http://pypi.douban.com/simple
trusted-host = pypi.douban.com
作者:摘星辰Li
链接:https://www.zhihu.com/question/38341743/answer/128985546
来源:知乎
网友评论