【Python】快速设置 pip 源

# window 下操作
# 查看配置文件路径
pip config list -v 

# 直接打开配置文件
pip config edit --editor notepad 

# 直接打开配置文件
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/ 

参考:https://developer.aliyun.com/mirror/pypi?spm=a2c6h.13651102.0.0.3e221b11z7RJoy

猜你喜欢

转载自blog.csdn.net/qq_22227087/article/details/108530934