在~/.pip/pip.conf文件中添加或修改url
mkdir ~/.pipblog
[global] index-url = http://mirrors.aliyun.com/pypi/simple/ [install] trusted-host=mirrors.aliyun.com