facebook / facebook/prophet

ImportError: cannot import name 'WEEKEND' from 'holidays'

Open
#2,444 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
20.4k
Forks
4.6k
Avg merge
19h 52m
Merged PRs (30d)
1

Description

holidays==0.25
prophet==1.1.4

` from prophet import Prophet
File "/azureml-envs/azureml_a412f00ebbd5c00432951eef28a2eea8/lib/python3.10/site-packages/prophet/__init__.py", line 7, in
from prophet.forecaster import Prophet
File "/azureml-envs/azureml_a412f00ebbd5c00432951eef28a2eea8/lib/python3.10/site-packages/prophet/forecaster.py", line 19, in
from prophet.make_holidays import get_holiday_names, make_holidays_df
File "/azureml-envs/azureml_a412f00ebbd5c00432951eef28a2eea8/lib/python3.10/site-packages/prophet/make_holidays.py", line 14, in
import prophet.hdays as hdays_part2
File "/azureml-envs/azureml_a412f00ebbd5c00432951eef28a2eea8/lib/python3.10/site-packages/prophet/hdays.py", line 15, in
from holidays import WEEKEND, HolidayBase, Turkey
ImportError: cannot import name 'WEEKEND' from 'holidays' (/mnt/azureml/cr/j/e4c437ba28ca48339e3c797d3dc26be2/exe/wd/holidays.py)`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.