You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
poetry run pip list | grep camelot >> camelot-py 1.0.0
in command line, poetry run python
import camelot
Expected behavior
Import should resolve, but raises: ImportError: cannot import name 'TableList' from 'camelot.core' (/workspaces/projectname/.venv/lib/python3.12/site-packages/camelot/core/__init__.py)
Same result if replacing 2. above with poetry add camelot-py[base].
Additional context
This is similar/same behaviour to some other closed issues, but their reported fixes have not worked
It looks to me like the from .core import TableList is seeking a directory (c.f. ImportError) whereas the TableList actually lives in in the core.py module, not a subpackage /core. Is this a side effect of the venv? If I run pip install camelot-py[base] in the devcontainer, then I can import at will.
The text was updated successfully, but these errors were encountered:
Describe the bug
Steps to reproduce the bug
poetry run pip install camelot-py[base]
poetry run pip list | grep camelot
>>camelot-py 1.0.0
poetry run python
import camelot
Expected behavior
Import should resolve, but raises:
ImportError: cannot import name 'TableList' from 'camelot.core' (/workspaces/projectname/.venv/lib/python3.12/site-packages/camelot/core/__init__.py)
Same result if replacing 2. above with
poetry add camelot-py[base]
.Additional context
This is similar/same behaviour to some other closed issues, but their reported fixes have not worked
It looks to me like the
from .core import TableList
is seeking a directory (c.f. ImportError) whereas the TableList actually lives in in thecore.py
module, not a subpackage/core
. Is this a side effect of the venv? If I runpip install camelot-py[base]
in the devcontainer, then I can import at will.The text was updated successfully, but these errors were encountered: