You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed a fresh anaconda environment with python12 and the latest multimethod seems incompatible with the pandera requirement.
I reverted to an earlier version and the error is resolved
pip install --force-reinstall -v "multimethod==1.12"
----> 8 from socceraction.data.opta import OptaLoader
9 import socceraction
12 pd.set_option('display.max_columns', None)
File ~\AppData\Roaming\Python\Python311\site-packages\socceraction\data_init_.py:9
1 """Implements serializers for the event data of various providers."""
3 all = [
4 "opta",
5 "statsbomb",
6 "wyscout",
7 ]
----> 9 from . import opta, statsbomb, wyscout
File ~\AppData\Roaming\Python\Python311\site-packages\socceraction\data\opta_init_.py:12
1 """Module for loading Opta event data."""
3 all = [
4 "OptaLoader",
5 "OptaCompetitionSchema",
(...)
9 "OptaEventSchema",
10 ]
---> 12 from .loader import OptaLoader
13 from .schema import (
14 OptaCompetitionSchema,
15 OptaEventSchema,
(...)
18 OptaTeamSchema,
19 )
File ~\AppData\Roaming\Python\Python311\site-packages\socceraction\data\opta\loader.py:14
11 from typing import Any, Optional, Union, cast
13 import pandas as pd # type: ignore
---> 14 from pandera.typing import DataFrame
16 from socceraction.data.base import EventDataLoader
18 from .parsers import (
19 F1JSONParser,
20 F7XMLParser,
(...)
27 WhoScoredParser,
28 )
File e:\Apps\anaconda3\envs\soccerdata\Lib\site-packages\pandera_init_.py:4
1 """A flexible and expressive pandas validation library."""
2 import platform
----> 4 import pandera.backends
5 from pandera import errors, external_config, typing
6 from pandera.accessors import pandas_accessor
File e:\Apps\anaconda3\envs\soccerdata\Lib\site-packages\pandera\backends_init_.py:6
4 import pandera.backends.base.builtin_checks
5 import pandera.backends.base.builtin_hypotheses
----> 6 import pandera.backends.pandas
File e:\Apps\anaconda3\envs\soccerdata\Lib\site-packages\pandera\backends\pandas_init_.py:13
10 from pandera.api.pandas.components import Column, Index, MultiIndex
12 from pandera.backends.pandas import builtin_checks, builtin_hypotheses
---> 13 from pandera.backends.pandas.checks import PandasCheckBackend
14 from pandera.backends.pandas.hypotheses import PandasHypothesisBackend
15 from pandera.backends.pandas.array import SeriesSchemaBackend
File e:\Apps\anaconda3\envs\soccerdata\Lib\site-packages\pandera\backends\pandas\checks.py:7
4 from typing import Dict, List, Optional, Union, cast
6 import pandas as pd
----> 7 from multimethod import DispatchError, overload
9 from pandera.api.base.checks import CheckResult, GroupbyObject
10 from pandera.api.checks import Check
ImportError: cannot import name 'overload' from 'multimethod' (e:\Apps\anaconda3\envs\soccerdata\Lib\site-packages\multimethod_init_.py)
The text was updated successfully, but these errors were encountered:
I installed a fresh anaconda environment with python12 and the latest multimethod seems incompatible with the pandera requirement.
I reverted to an earlier version and the error is resolved
pip install --force-reinstall -v "multimethod==1.12"
The text was updated successfully, but these errors were encountered: