原文链接: http://chenhao.space/post/7857229e.html
-
创建
.pip
文件夹,命令:mkdir ~/.pip
-
在
.pip
中新建一个文件并编辑:vi pip.config
-
添加以下内容
[global] index-url=http://mirrors.aliyun.com/pypi/simple/ [install] trusted-host=mirrors.aliyun.com
参考资料:
原文链接: http://chenhao.space/post/7857229e.html
创建.pip
文件夹,命令: mkdir ~/.pip
在.pip
中新建一个文件并编辑:vi pip.config
添加以下内容
[global]
index-url=http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com
参考资料: