Windows:

在 C:\Users\用户名 下面新建一个pip目录,在该目录下面新增 pip.ini 文件,文件的内容如下

Linux:

vim ~/.pip/pip.conf

 

[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
trusted-host = mirrors.aliyun.com

相关文章:

  • 2022-12-23
  • 2021-08-01
  • 2021-12-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-15
  • 2021-11-25
猜你喜欢
  • 2022-12-23
  • 2022-02-07
  • 2021-11-09
  • 2022-02-16
  • 2021-06-03
  • 2022-12-23
  • 2021-07-15
相关资源
相似解决方案