每次运行程序时都会显示:
C:\Users\Administrator\AppData\Local\Programs\Python\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
开始以为是升级3.13的原因,恢复3.12还是这样。
xtquant库已经是最新的xtquant_250516
怎样解决? |