pip list DEPRECATION: The default format will switch to columns in the future. You can use --format

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.

解决办法:

echo %APPDATA%
C:\Users\XXX\AppData\Roaming

cd C:\Users\XXX\AppData\Roaming

创建pip目录

创建pip.ini,写入:

[list]
format=columns

重新执行pip list,显示如下:

猜你喜欢

转载自blog.csdn.net/David_ifx/article/details/104253369
今日推荐