常用pip镜像源的地址:
- 清华大学:https://pypi.tuna.tsinghua.edu.cn/simple
- 阿里云:https://mirrors.aliyun.com/pypi/simple
- 豆瓣:https://pypi.douban.com/simple
例(配置阿里云镜像源):
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple
验证配置是否成功:
pip config list