mkdir ~/.pip
vi ~/.pip/pip.conf
[global]
index-url = http://mirrors.xxx.org/pypi/simple
extra-index-url = http://mirrors.xxx.org/sfpypi/simple
[install]
trusted-host = mirrors.xxx.org
mkdir ~/.pip
vi ~/.pip/pip.conf
[global]
index-url = http://mirrors.xxx.org/pypi/simple
extra-index-url = http://mirrors.xxx.org/sfpypi/simple
[install]
trusted-host = mirrors.xxx.org