atlanhq / camelot

Camelot: PDF Table Extraction for Humans
https://camelot-py.readthedocs.io
Other
3.61k stars 349 forks source link

cannot import name 'TableList' camelot #398

Open Ahmed-BEN-ABDALLAH opened 4 years ago

Ahmed-BEN-ABDALLAH commented 4 years ago

I installed the dependencies and camelot but i facing this issue , help please

Katzmann1983 commented 11 months ago

import camelot Traceback (most recent call last): File "", line 1, in File "C:\Users\jens.Humrich\AppData\Roaming\Python\Python39\site-packages\camelot__init__.py", line 6, in from .io import read_pdf File "C:\Users\jens.Humrich\AppData\Roaming\Python\Python39\site-packages\camelot\io.py", line 5, in from .handlers import PDFHandler File "C:\Users\jens.Humrich\AppData\Roaming\Python\Python39\site-packages\camelot\handlers.py", line 8, in from .core import TableList ImportError: cannot import name 'TableList' from 'camelot.core' (C:\Users\jens.Humrich\AppData\Roaming\Python\Python39\site-packages\camelot\core__init__.py)

Katzmann1983 commented 11 months ago

Issue for me is that there exists a file and a folder called core. Python gets confused and tries to import it from the folder

Katzmann1983 commented 11 months ago

image