pip设置国内源,提升下载速率。  

pip国内的一些比较好用的镜像源

  阿里云 http://mirrors.aliyun.com/pypi/simple/
  豆瓣(douban) http://pypi.douban.com/simple/
  清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/
  中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/

修改pip源

  修改 ~/.pip/pip.conf (如果没有就创建,需要先创建.pip的隐藏目录)

 [global]
 index-url = https://pypi.tuna.tsinghua.edu.cn/simple

 即可。

参考

  https://blog.csdn.net/xuezhangjun0121/article/details/81664260

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-28
  • 2021-07-08
  • 2021-09-24
  • 2021-08-05
  • 2021-09-17
  • 2021-09-25
猜你喜欢
  • 2021-04-14
  • 2022-02-20
  • 2022-01-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案