建个文件 ~/.pip/pip.conf, 内容如下
[global] index-url = http://b.pypi.python.org/simple [install] use-mirrors = true mirrors = http://b.pypi.python.org
http://pypi.python.org/mirrors