环境设置:Linux
1. pip配置国内镜像源
修改 ~/.pip/pip.conf (没有就创建一个), 修改 index-url至tuna(也可以添加阿里源),内容如下:
[global] index-url = https://pypi.tuna.tsinghua.edu.cn/simple

原文链接:
https://www.cnblogs.com/sky-ai/p/9800036.html