参考

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%\pip\pip.ini文件,添加如下文件内容:

  1. [list]  
  2. format=columns  




例如:C:\ProgramData\pip\pip.ini

posted on 2018-03-06 14:11  shuangxinye  阅读(171)  评论(0编辑  收藏  举报