Skip to content
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

I cannot load darts #1

Open
CBrauer opened this issue Jun 6, 2023 · 0 comments
Open

I cannot load darts #1

CBrauer opened this issue Jun 6, 2023 · 0 comments

Comments

@CBrauer
Copy link

CBrauer commented Jun 6, 2023

Hello,

I trying to reproduce in the example and I'm getting the following error:

(base) H:\HedgeTools>python
Python 3.10.9 | packaged by Anaconda, Inc. | (main, Mar  1 2023, 18:18:15) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import darts
>>> darts.__version__
'0.24.0'
>>>
>>> from darts.models.forecasting.baselines import NaiveSeasonal
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "H:\anaconda3\lib\site-packages\darts\models\__init__.py", line 66, in <module>
    from darts.models.forecasting.prophet_model import Prophet
  File "H:\anaconda3\lib\site-packages\darts\models\forecasting\prophet_model.py", line 12, in <module>
    import prophet
  File "H:\anaconda3\lib\site-packages\prophet\__init__.py", line 7, in <module>
    from prophet.forecaster import Prophet
  File "H:\anaconda3\lib\site-packages\prophet\forecaster.py", line 19, in <module>
    from prophet.make_holidays import get_holiday_names, make_holidays_df
  File "H:\anaconda3\lib\site-packages\prophet\make_holidays.py", line 14, in <module>
    import prophet.hdays as hdays_part2
  File "H:\anaconda3\lib\site-packages\prophet\hdays.py", line 779, in <module>
    class TU(Turkey):
  File "H:\anaconda3\lib\site-packages\holidays\registry.py", line 178, in __init__
    super().__init__(*args, **kwargs)
TypeError: object.__init__() takes exactly one argument (the instance to initialize)
>>>

Any help will be appreciated.
Charles Brauer
[email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant