Skip to content
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

ImportError: cannot import name ABC #100

Open
4ndr33 opened this issue Sep 27, 2020 · 0 comments
Open

ImportError: cannot import name ABC #100

4ndr33 opened this issue Sep 27, 2020 · 0 comments

Comments

@4ndr33
Copy link

4ndr33 commented Sep 27, 2020

Hi, i just installed csvdedupe,

i try to execute the csvdedupe cmd line, but it throw error.

ImportError: cannot import name ABC

csvdedupe DEDUPE2-TEST.csv --field_names Name --output_file output.csv
Traceback (most recent call last):
File "/bin/csvdedupe", line 5, in <module>
from csvdedupe.csvdedupe import launch_new_instance
File "/usr/lib/python2.7/site-packages/csvdedupe/csvdedupe.py", line 9, in <module>
from . import csvhelpers
File "/usr/lib/python2.7/site-packages/csvdedupe/csvhelpers.py", line 20, in <module>
import dedupe
File "/usr/lib64/python2.7/site-packages/dedupe/__init__.py", line 6, in <module>
from dedupe._init import * # noqa
File "/usr/lib64/python2.7/site-packages/dedupe/_init.py", line 1, in <module>
from dedupe.api import StaticDedupe, Dedupe # noqa: F401
File "/usr/lib64/python2.7/site-packages/dedupe/api.py", line 24, in <module>
import dedupe.datamodel as datamodel
File "/usr/lib64/python2.7/site-packages/dedupe/datamodel.py", line 8, in <module>
import dedupe.variables.base as base
File "/usr/lib64/python2.7/site-packages/dedupe/variables/base.py", line 1, in <module>
from dedupe import predicates
File "/usr/lib64/python2.7/site-packages/dedupe/predicates.py", line 11, in <module>
import dedupe.tfidf as tfidf
File "/usr/lib64/python2.7/site-packages/dedupe/tfidf.py", line 6, in <module>
from .index import Index
File "/usr/lib64/python2.7/site-packages/dedupe/index.py", line 1, in <module>
from abc import ABC, abstractmethod
ImportError: cannot import name ABC

1

could someone give an advice for this? thank you

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

1 participant