Error when loading prophet library in notebook

I get an error after importing the prophet library in my notebook despite I already installed it in my environment:

from prophet import Prophet

import pandas as pd

Traceback (most recent call last):
at cell 7, line 1
at /opt/python/envs/default/lib/python3.8/site-packages/prophet/, line 7
at /opt/python/envs/default/lib/python3.8/site-packages/prophet/, line 19
at /opt/python/envs/default/lib/python3.8/site-packages/prophet/, line 14
at /opt/python/envs/default/lib/python3.8/site-packages/prophet/, line 779
at /opt/python/envs/default/lib/python3.8/site-packages/holidays/, line 178, in init(self, path, *args, **kwargs)
TypeError: object.init() takes exactly one argument (the instance to initialize)

can you please help?

1 Like