1. pip不同的源的包版本可能不一樣
2. 國(guó)內(nèi)源
阿里云?http://mirrors.aliyun.com/pypi/simple/
中國(guó)科技大學(xué)?https://pypi.mirrors.ustc.edu.cn/simple/?
豆瓣(douban)?http://pypi.douban.com/simple/?
清華大學(xué)?https://pypi.tuna.tsinghua.edu.cn/simple/
中國(guó)科學(xué)技術(shù)大學(xué)?http://pypi.mirrors.ustc.edu.cn/simple/
3.?如果想配置成默認(rèn)的源,方法如下:
需要?jiǎng)?chuàng)建或修改配置文件(一般都是創(chuàng)建),
linux的文件在~/.pip/pip.conf,
windows在%HOMEPATH%\pip\pip.ini),
修改內(nèi)容為:
[global]
index-url = http://pypi.douban.com/simple
[install]
trusted-host=pypi.douban.com