pip 阿里源

vi ~/.pip/pip.conf
[global]
trusted-host = mirrors.aliyun.com
index-url = https://mirrors.aliyun.com/pypi/simple

 

 

pip install -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com

posted @ 2020-02-02 22:09  ahuo  阅读(21422)  评论(0编辑  收藏  举报