-
Notifications
You must be signed in to change notification settings - Fork 896
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WARNING about dependecies which were removed with darts 0.25.0 #1972
Comments
Hi @MichalRIcar, do you mean that we should not raise these warnings when importing somethiing from Darts? The model wrappers are still supported in Darts after installing the dependencies. So I think we will continue to log the warnings for now. |
Hello @dennisbader, I am referring to the fact that default installation design is to not install Prophet, CatBoost, LightGBM. When user with the default installation run any operation from darts lib (not connected with the 3 packages) then he/she sees those 3 WARNINGs from WARNING:darts.models.utils all the time and these are referring just to the new design of >= v.0.25.0. I was thinking, when user explicitly asks for these opt packages (call them), it would be nice to rise an error describing/instructing the user to install opt packages rather than rising warnings all the time to users who have no need of it. I know I can suppress it, but in general I believe that warning should be a real warning rather than a note referring to some options of the lib. |
Hi @MichalRIcar, agreed. #1986 removes the warnings and raises an error when trying to create a model with missing dependency |
Hello,
I've just installed
Python 3.11.4
darts 0.25.0
on Windows 11 via pip install darts
everything works OK, however, Python is printing following WARNINGs
WARNING:darts.models.utils:The
Prophet
module could not be imported. To enable Prophet support in Darts, follow the detailed instructions in the installation guide: https://github.com/unit8co/darts/blob/master/INSTALL.mdWARNING:darts.models.utils:The
CatBoost
module could not be imported. To enable CatBoost support in Darts, follow the detailed instructions in the installation guide: https://github.com/unit8co/darts/blob/master/INSTALL.mdWhen reading Your installation instructions:
Enabling Optional Dependencies
By default, as of 0.25.0, darts does not have Prophet, CatBoost, and LightGBM as dependencies anymore...
I am wondering if the WARNINGs above are appropriate under the last change?
Best,
Michal
The text was updated successfully, but these errors were encountered: