mkdir ~/.pip/ vim ~/.pip/pip.conf [global] index-url = https://mirrors.aliyun.com/pypi/simple/ [install] trusted-host=mirrors.aliyun.com
centos换pip源
http://mirrors.aliyun.com/help/pypi