python 配置pip镜像源

在本地用户下新建pip文件夹,新建pip.ini

[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com

  pip config list

原文地址:https://www.cnblogs.com/q1359720840/p/14509717.html