pip DEPRECATION: The default format will switch to columns”错误

参考

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.

 参考:http://blog.csdn.net/u013066730/article/details/54580948

解决方案:

如果你的PIP版本是9.0.1话,可以在~/pip/pip.conf配置文件中加入下面的语句,避免这类警告:

  1. [list]  
  2. format=columns  

Win7系统自己创建%APPDATA%pippip.ini文件,添加如下文件内容:

  1. [list]  
  2. format=columns  




例如:C:ProgramDatapippip.ini

原文地址:https://www.cnblogs.com/shuangxinye/p/8514089.html