pip list查看的时候 报出警告
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.
解决办法:
在根目录创建隐藏文件,编辑该文件,添加最下面的两行
mkdir ~/.pip/
cd ~/.pip
touch pip.conf
vi pip.conf
添加
[list]
format=columns
网友评论