When I run pip3 list
, I got the message DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
. When I modified my $HOME/.pip/pip.conf
and added
[list]
--format=columns
to the pip.conf
. However, I got another wrong message when I run pip2 list
:
Configuration file could not be loaded.
File contains parsing errors: /data/home/user00/.pip/pip.conf
[line 2]: ' --format=columns
'
How should I config the pip.conf to satisfied both pip2
and pip3
to run?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…