pip遇见的format问题

这是pip升级以后的问题。

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.

解决方法:(windows)在C:\Users{用户名}\ 目录下创建名称为pip的文件夹,里面创建文本文件,内容为

[list] 
format=columns 

然后保存文件名为pip.ini就解决了。

也可以改为:

[list]
format=legacy

这就和原来一样按行输出。

posted @ 2018-02-19 22:20  客往何处去  阅读(477)  评论(0编辑  收藏  举报