pip list 警告消除方法

本文介绍了解决pip默认格式警告的方法,通过配置pip.ini文件来设置显示格式为columns,以此避免出现有关格式变化的警告。

 

 
警告内容:

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:\Users\Administrator下建立pip文件夹,在pip下新建 pip.ini:

  写入:

[list]
format=columns

转载于:https://www.cnblogs.com/zhisy/p/7091442.html

DEPRECATION: Loading egg at c:\users\wuqiling\.conda\envs\sedr\lib\site-packages\certifi-2025.1.31-py3.11.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330 DEPRECATION: Loading egg at c:\users\wuqiling\.conda\envs\sedr\lib\site-packages\charset_normalizer-3.4.1-py3.11-win-amd64.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330 DEPRECATION: Loading egg at c:\users\wuqiling\.conda\envs\sedr\lib\site-packages\idna-3.10-py3.11.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330 DEPRECATION: Loading egg at c:\users\wuqiling\.conda\envs\sedr\lib\site-packages\requests-2.32.3-py3.11.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330 DEPRECATION: Loading egg at c:\users\wuqiling\.conda\envs\sedr\lib\site-packages\sedr-1.0.0-py3.11.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330 DEPRECATION: Loading egg at c:\users\wuqiling\.conda\envs\sedr\lib\site-packages\urllib3-2.3.0-py3.11.egg is deprecated. pip 25.1 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
03-14
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值