pip.ini的内容:

 

[global]  
index-url = http://mirrors.aliyun.com/pypi/simple
trusted-host = mirrors.aliyun.com
disable-pip-version-check = true
timeout = 120  

[list]
format = columns

 

位置在%USERPROFILE%\pip\pip.ini,如果没有,则新建一个。
%USERPROFILE% 就是我的文档目录。

 

linux 下 :

 

cat > ~/.pip/pip.conf << EOF
[global]
index-url = http://mirrors.aliyun.com/pypi/simple
trusted-host = mirrors.aliyun.com
disable-pip-version-check = true
timeout = 120

[list]
format = columns
EOF

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-29
  • 2021-08-20
  • 2022-12-23
  • 2021-10-12
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-21
  • 2021-12-04
  • 2022-01-16
  • 2022-12-23
  • 2021-09-03
  • 2021-11-09
相关资源
相似解决方案