Skip to content

Question ImportError and dependency conflict error  #880

@JackyJiang0410

Description

@JackyJiang0410

Hi, we find out after the import like
from socceraction.data.statsbomb import StatsBombLoader
will cause import error as follow:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
[<ipython-input-3-6f97ddd8e8bc>](https://localhost:8080/#) in <cell line: 5>()
      3 import numpy as np
      4 from tqdm import tqdm
----> 5 from socceraction.data.statsbomb import StatsBombLoader
      6 import socceraction.spadl as spadl
      7 import socceraction.xthreat as xthreat

7 frames
[/usr/local/lib/python3.10/dist-packages/pandera/backends/pandas/checks.py](https://localhost:8080/#) in <module>
      5 
      6 import pandas as pd
----> 7 from multimethod import DispatchError, overload
      8 
      9 from pandera.api.base.checks import CheckResult, GroupbyObject

ImportError: cannot import name 'overload' from 'multimethod' (/usr/local/lib/python3.10/dist-packages/multimethod/__init__.py)

---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------

We believe it is because overload is removed from multimethod.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions