pip.conf

可以创建一个 pip.conf 文件,用于增加默认配置,例如,创建文件 /etc/pip.conf 并填入以下内容,

[global] 
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host = https://pypi.tuna.tsinghua.edu.cn 
[list]
format=columns

 

(完)

 

posted @ 2022-03-23 15:59  Anonymous596  阅读(797)  评论(0编辑  收藏  举报