python pip list

xiaoxiao2021-02-28  76

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了 

解决方法:(windows)在C:\Users{用户名}\ 目录下创建名称为pip的文件夹,里面创建文本文件,内容为  [list]  format=columns  然后保存文件名为pip.ini就解决了,这时候再重新打开命令行执行pip list就不会出现提示信息了
转载请注明原文地址: https://www.6miu.com/read-52248.html

最新回复(0)