在终端输入
pip3 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
然后进行保存并退出操作,按shift + : 会跳到最后一行,输入x后回车便完成了
再次输入
pip3 list
warning便不显示了