当前位置:网站首页>问题随记 —— pip 换源

问题随记 —— pip 换源

2022-06-26 04:31:00 繁依Fanyi

问题描述

pip 官方源太慢,需要换源节省时间。

解决方法

换源命令如下:

pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple

其它源:

  • 阿里云: http://mirrors.aliyun.com/pypi/simple/
  • 中国科技大学: https://pypi.mirrors.ustc.edu.cn/simple/
  • 清华大学: https://pypi.tuna.tsinghua.edu.cn/simple/
原网站

版权声明
本文为[繁依Fanyi]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_21484461/article/details/125466121