qlib icon indicating copy to clipboard operation
qlib copied to clipboard

TypeError: canonicalize_version() got an unexpected keyword argument strip_trailing_zero

Open sailxjx opened this issue 1 year ago • 1 comments

🐛 Bug Description

When install pyqlib via poetry, python3.10, I met a dependency conflict that prevented the installation from completing successfully.

I think that's because the version conflict of packaging https://github.com/pypa/setuptools/issues/4483

I want to upgrade packaging to 22.0 but qlib has limited the version to below 22.0.

To Reproduce

Steps to reproduce the behavior:

  1. poetry add pyqlib

Expected Behavior

Install sucessfully

Screenshot

Image

Environment

Note: User could run cd scripts && python collect_info.py all under project directory to get system information and paste them here directly.

  • Qlib version: 0.9.5
  • Python version: 3.10
  • OS (Windows, Linux, MacOS): MacOS
  • Commit number (optional, please provide it if you are using the dev version):

Additional Notes

sailxjx avatar Nov 29 '24 11:11 sailxjx

Hi, @sailxjx I saw your issue and at the time you asked it, qlib didn't support python 3.10, but fortunately, qlib has recently made some adjustments and now supports python 3.10, so you can try pulling the latest code and installing it with make install or make dev.

SunsetWolf avatar Dec 31 '24 06:12 SunsetWolf