Skip to content

ImportError: cannot import name 'ABCIndexClass' from 'pandas.core.dtypes.generic' #219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
arademaker opened this issue Jul 7, 2021 · 3 comments

Comments

@arademaker
Copy link

(venv) ar@tenis ~ % python
Python 3.9.5 (default, May  4 2021, 03:36:27)
[Clang 12.0.0 (clang-1200.0.32.29)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pandas
>>> import text_extensions_for_pandas as tp
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/ar/venv/lib/python3.9/site-packages/text_extensions_for_pandas/__init__.py", line 27, in <module>
    from text_extensions_for_pandas.array.span import (
  File "/Users/ar/venv/lib/python3.9/site-packages/text_extensions_for_pandas/array/span.py", line 33, in <module>
    from pandas.core.dtypes.generic import ABCDataFrame, ABCIndexClass, ABCSeries
ImportError: cannot import name 'ABCIndexClass' from 'pandas.core.dtypes.generic' (/Users/ar/venv/lib/python3.9/site-packages/pandas/core/dtypes/generic.py)
>>>
@cullinap
Copy link
Contributor

cullinap commented Jul 7, 2021

Looks like this relates back to #218

@frreiss
Copy link
Member

frreiss commented Jul 7, 2021

This should be fixed with #218. We will cut a new release in a few days.

@frreiss frreiss closed this as completed Jul 7, 2021
@frreiss
Copy link
Member

frreiss commented Jul 7, 2021

In the meantime, you can work around this issue by downgrading Pandas to 1.2.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants