1、在用户名目录创建pip目录,在pip目录下创建pip.ini.

更改pip源地址为阿里云

 

 2、pip.ini中输入:

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

 

相关文章:

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