cannot import name 'easter'
I have a job running daily forecasts with Prophet. Starting today, there is this error when trying to import a 'easter' package. This happens when importing get_holiday_names and make_holidays_df from fbprophet.make_holidays package.
Any ideas on how to resolve this?
Thanks.
holidays package is updated, structure is completely different. I'll be on it.
or you can stick to the previous version of holidays, as pip install holidays==0.9.12
or you can stick to the previous version of holidays, as pip install holidays==0.9.12
I'm applying pip install holidays==0.9.12 before importing Prophet but getting the same error
holidays==0.9 worked fine for me using prophet ==0.4
There is no version 0.9 according to the release history https://pypi.org/project/holidays/#history
Not sure why, but it works now with pip install holidays==0.9.12
Hi, here https://github.com/dr-prodigy/python-holidays/issues/277 you'll find a fix for this issue, which is deriving from a wrong reference made to Easter (which is not part of holidays), in prophet code.
I fixed this problem by uninstalling prophet :+1:
Still getting the easter issue - I have tried uninstalling both prophet and holidays