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.

解决方法:

在C:UsersAdministrator下建立pip文件夹,在pip下新建 pip.ini:

  写入:

[list]
format=columns

原文地址:https://www.cnblogs.com/zhisy/p/7091442.html