https://www.jianshu.com/p/b2d53904dd37

源就是下载地址了,换到国内的源下载速度真的快了近10倍,这里都用了清华的源

pip

只要新建一个配置文件,写上路径就行了

win下文件路径:C:\Users\你的用户名\pip\pip.ini

linux下文件路径:~/.pip/pip.conf

内容写:

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

conda

命令行下两条命令即可

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/

conda config --set show_channel_urls yes



作者:SniperM99
链接:https://www.jianshu.com/p/b2d53904dd37
来源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。

相关文章:

  • 2022-12-23
  • 2021-09-05
  • 2021-08-24
  • 2021-09-03
  • 2021-09-13
  • 2021-12-03
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-05-21
  • 2022-12-23
  • 2021-11-12
  • 2022-12-23
  • 2022-12-23
  • 2022-01-17
相关资源
相似解决方案