将pip的源换为国内的。

1.新建目录及文件~/.pip/pip.conf

2.内容为:

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

[install]
trusted-host=mirrors.aliyun.com

相关文章:

  • 2021-12-29
  • 2021-09-30
  • 2021-04-21
  • 2021-12-18
  • 2022-12-23
  • 2021-11-13
猜你喜欢
  • 2021-08-06
  • 2021-10-07
  • 2022-02-07
  • 2021-06-24
  • 2022-01-24
  • 2022-12-23
  • 2021-12-22
相关资源
相似解决方案