首页 > 技术文章 > pip 设置阿里云源

jifeng 2019-07-21 15:24 原文

在~/.pip/pip.conf文件中添加或修改

mkdir ~/.pip

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

  

 

推荐阅读