Open lmocsi opened 2 hours ago
The problem seems to be, that in the "C:\Program Files\Python39\lib\site-packages\camelot" folder there is a 'core' subfolder and there is a core.py file.
First of all, thanks for your interest in this package.
Do you know why there is a "core" subfolder. As it is not coming from this repo. There is just the core.py file: https://github.com/py-pdf/pypdf_table_extraction/tree/main/camelot
No Idea. I just installed camelot, then pypdf_table_extraction. Should I uninstall both, and the install only pypdf_table_extraction?
Upon 'import pypdf_table_extraction' I get the following error:
The problem seems to be, that in the "C:\Program Files\Python39\lib\site-packages\camelot\" folder there is a 'core' subfolder and there is a core.py file. So when you issue a command in the handlers.py, that "from .core import TableList" python will not know if it should import from the core.py of the core subfolder. Eventually, it tries to import from the subfolder, but there is no TableList.py file in that folder, so it fails. I think it is not a good practice to have a core.py file and a core folder at the same place. Should rename either one.