返回列表 发布新帖

升级到python3.12.9后,xtquant的pkg_resources发出了警告,该如何处理?

304 4
发表于 2025-5-27 16:01:18 | 显示全部楼层 阅读模式

之前是3.8版本,没有这个情况,升级python后,每次都会发出这个警告。

C:\Program Files\Python312\Lib\site-packages\xtquant__init__.py:8: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. from pkg_resources import get_distribution

评论4

*******9106_xddUd
发表于 2025-5-27 17:22:48 来自手机 | 显示全部楼层
Pip工具没有同步更新吧
*******0591_cqiDi楼主
发表于 2025-5-27 17:26:11 | 显示全部楼层
*******9106_xddUd 发表于 2025-5-27 17:22
Pip工具没有同步更新吧

pip是25.1.1版本的,
*******9106_xddUd
发表于 2025-5-27 17:28:00 来自手机 | 显示全部楼层
Refrain from using this package or pin to Setuptools<81.
*******9106_xddUd
发表于 2025-5-27 17:28:15 来自手机 | 显示全部楼层
看提示哦

回复

您需要登录后才可以回帖 登录 | 立即注册

客服专线

400-080-8112

用思考的速度交易,用真诚的态度合作,我们是认真的!
  • 关注公众号
  • 添加微信客服
Copyright © 2001-2025 迅投QMT社区 版权所有 All Rights Reserved. 京ICP备2025122616号-3
关灯 快速发帖
扫一扫添加微信客服
QQ客服返回顶部
快速回复 返回顶部 返回列表