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.
这段信息的意思是说以后pip list的默认格式会采用columns了
[list]
format=columns
然后保存文件名为pip.ini就解决了,这时候再重新打开命令行执行pip list就不会出现提示信息了
本文介绍了解决 pip list 默认格式即将从 legacy 更改为 columns 的警告信息的方法。通过在用户的 pip 配置文件中设置 format=columns 参数,可以避免此警告并确保命令输出符合预期。
954

被折叠的 条评论
为什么被折叠?



