### windows

-------------------------------------------------

在用户目录下新建 pip文件夹,新建pip.ini文件

[global]
index-url = https://mirrors.aliyun.com/pypi/simple/

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

 

### linux

------------------------------------------------

在文件

~/.pip/pip.conf

中添加或修改:

[global]
index-url = https://mirrors.aliyun.com/pypi/simple/

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

相关文章:

  • 2021-08-20
  • 2021-06-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-14
猜你喜欢
  • 2022-12-23
  • 2021-07-28
  • 2021-12-29
  • 2021-09-21
  • 2022-01-16
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案