-
-
Notifications
You must be signed in to change notification settings - Fork 105
Description
Hello team,
I am attempting to set up the project on a fresh macOS environment with Python 3.12. I've encountered a dependency deadlock that prevents the model from running.
The Issue:
- Python 3.12 requires
scikit-learn >= 1.3(older versions do not build). - The pre-trained gradient boosting model downloaded by
gb_loaderappears to have been pickled with an olderscikit-learnversion (<1.3). - When loading the model with
scikit-learn >= 1.5, it throws:AttributeError: Can't get attribute '__pyx_unpickle_CyAbsoluteError' on <module 'sklearn._loss._loss' ...>
Steps to Reproduce:
- Clone repo on macOS (Python 3.12).
- Manually patch
pyproject.tomlto allow newer libraries (sincenumpyandscikit-learnrequirements are too old for Py3.12). - Run a basic forecast.
We likely need to re-pickle the gradient boosting models using a newer version of scikit-learn, or provide a separate model file for Python 3.12+ users.
I am happy to work on any potential fixes!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels