mkdir -p ~/.pip/ vim pip.conf
pip.conf中内容如下:
[global] index-url=http://mirrors.aliyun.com/pypi/simple/ [install] trusted-host=mirrors.aliyun.com