atlanhq / camelot

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

Help with camelot installation using poetry #499

Open bhishanpdl opened 1 year ago

bhishanpdl commented 1 year ago

I have recently known about camelot and wanted to give it a try. I tried to create a new environment using poetry and run a sample file, but the installation took hours resolving the dependencies and I finally exited the installation process.

Have any of the developers installed camelot using poetry? I would truly appreciate if I could install the module.

My pyproject.toml file (I tried both python 3.11 and 3.7) and None worked

[tool.poetry]
name = "src"
version = "0.1.0"
description = "Project description"
authors = ["Bhishan Poudel"]

[tool.poetry.dependencies]
python = "^3.7"

camelot-py = { version = "*", extras = ["cv"] }

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

Steps

# first activate the python 3.7 environment
python --version # 3.7.9
cd to_path_where_we_have_pyproject.toml_file_exists
poetry install # this command took me hours to revolve dependencies and could not   create the environment

# I would appreciate if we could somehow install camelot using poetry
plusiv commented 3 months ago

Same here!

bosd commented 1 month ago

Hey!

As https://github.com/camelot-dev/camelot/issues/343, we try to build a maintained fork at pypdf_table_extraction.

The first release can be found https://pypi.org/project/pypdf-table-extraction/ Can you check if the issue still exsists?