pip install -i https://mirrors.aliyun.com/pypi/simple/ 包名
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
pip config list
pip config unset global.index-url
也可以修改~/.config/pip/pip.conf