# window 下操作
# 查看配置文件路径
pip config list -v
# 直接打开配置文件
pip config edit --editor notepad
# 直接打开配置文件
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
Reference: https://developer.aliyun.com/mirror/pypi?spm=a2c6h.13651102.0.0.3e221b11z7RJoy