国内源:
新版ubuntu要求使用https源,要注意。
清华:https://pypi.tuna.tsinghua.edu.cn/simple
阿里云:http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
华中理工大学:http://pypi.hustunique.com/
山东理工大学:http://pypi.sdutlinux.org/
豆瓣:http://pypi.douban.com/simple/
临时使用:
可以在使用pip的时候加参数-i https://pypi.tuna.tsinghua.edu.cn/simple
例如:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyspider,这样就会从清华这边的镜像去安装pyspider库。
pip --default-timeout=1000 install -u xxx (xxx为你要安装的包名)
原网页:http://www.cnblogs.com/microman/p/6107879.html
[Install MXNet GPU Version]
pip install --default-timeout=1000 -i https://pypi.mirrors.ustc.edu.cn/simple --trusted-host --upgrade mxnet-cu100 gluoncv