添加国内镜像源
pip config set global.index-url 国内镜像源的URL
pip config set global.trusted-host 国内镜像源的主机名
eg:
pip config set global.index-url http://mirrors.aliyun.com/pypi/simple/
pip config set global.trusted-host mirrors.aliyun.com
查看当前镜像源
pip config get global.index-url
删除已配置的镜像源
pip config unset global.index-url
pip config unset global.trusted-host