1. 临时使用
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some-package
2. 修改配置文件
~/.config/pip/pip.conf
添加内容
[global]
trusted-host=mirrors.aliyun.com
index-url=https://mirrors.aliyun.com/pypi/simple/