在 c盘用户目录下创建文件夹pip C:\Users\Red\pip

创建文件 pip.ini

输入内容:

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

如图:

python 中将源配置为阿里

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-01
  • 2022-12-23
  • 2021-04-28
猜你喜欢
  • 2022-12-23
  • 2021-08-14
  • 2021-12-18
  • 2021-07-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案