Windows 下更换pip源为阿里源

1.找到如下路径:C:\Users\dai’er\AppData\Roaming

在这里插入图片描述

新建一个pip文件夹,在pip文件夹里面新建一个配置文件pip.ini

在这里插入图片描述

3.在配置文件中输入如下内容后保存

[global]
trusted-host=mirrors.aliyun.com
index-url=http://mirrors.aliyun.com/pypi/simple/
posted @ 2019-08-13 18:57  AlexKing007  阅读(548)  评论(0编辑  收藏  举报