ModuleNotFoundError: No module named 'exchange_calendars.utils'
ggravlingen opened this issue · 1 comments
ggravlingen commented
It looks like dependencyexchange_calendar
just released a version 4.0 which is not compatible with this library. Can we please pin exchange_calendar
to >3.3,<4.0?
import pandas_market_calendars as mcal
File "/__w/1/s/.tox/.env/lib/python3.8/site-packages/pandas_market_calendars/__init__.py", line 19, in <module>
from .calendar_registry import get_calendar, get_calendar_names
File "/__w/1/s/.tox/.env/lib/python3.8/site-packages/pandas_market_calendars/calendar_registry.py", line 23, in <module>
from .exchange_calendars_mirror import *
File "/__w/1/s/.tox/.env/lib/python3.8/site-packages/pandas_market_calendars/exchange_calendars_mirror.py", line 8, in <module>
import exchange_calendars
File "/__w/1/s/.tox/.env/lib/python3.8/site-packages/exchange_calendars/__init__.py", line 16, in <module>
from .calendar_utils import (
File "/__w/1/s/.tox/.env/lib/python3.8/site-packages/exchange_calendars/calendar_utils.py", line 6, in <module>
from .always_open import AlwaysOpenCalendar
File "/__w/1/s/.tox/.env/lib/python3.8/site-packages/exchange_calendars/always_open.py", line 5, in <module>
from .exchange_calendar import ExchangeCalendar
File "/__w/1/s/.tox/.env/lib/python3.8/site-packages/exchange_calendars/exchange_calendar.py", line 52, in <module>
from .utils.pandas_utils import days_at_time
ModuleNotFoundError: No module named 'exchange_calendars.utils'
ggravlingen commented
Seems like the issue was quickly resolved:
gerrymanoim/exchange_calendars#203