方法1
[root@aliyun home] vim ~/.pip/pip.conf
[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com
or
方法2
pip install nose -i http://mirrors.aliyun.com/pypi/simple
方法1
[root@aliyun home] vim ~/.pip/pip.conf
[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com
or
方法2
pip install nose -i http://mirrors.aliyun.com/pypi/simple
本文标题:pip更换为国内源
本文链接:https://www.haomeiwen.com/subject/xgplbftx.html
网友评论