< a href="https://github.com/%E5%B0%8F%E7%9A%AE%E6%B5%A9"> Fork me on GitHub

更换Linux系统中的pip源

更换Linux系统中的pip源

更换Linux系统中的pip源

命令如下:

mkdir -p ~/.pip/
touch pip.conf
vim pip.conf

pip.conf编辑内容

[global]
index-url=http://mirrors.aliyun.com/pypi/simple/

[install]
trusted-host=mirrors.aliyun.com

 

 

posted @ 2020-02-17 19:13  赌徒!  阅读(4263)  评论(0编辑  收藏  举报