ubuntu python pip修改阿里鏡像源

ubuntu python pip修改阿里鏡像源

操作

mkdir ~/.pip
cd ~/.pip
gedit ./pip.conf

pip.conf 文件如下

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

[install]
trusted-host=mirrors.aliyun.com
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章