camelot-dev / camelot

A Python library to extract tabular data from PDFs
https://camelot-py.readthedocs.io
MIT License
2.81k stars 449 forks source link

pdftopng installation issues #380

Open unnikrishnancs opened 1 year ago

unnikrishnancs commented 1 year ago

Hi,

pdftopng gets installed when I run 'pip3 install camelot-py' on my local machine having Ubuntu and Python 3.8. But when I try to push my code to server having Centos with Python 3.10 , it fails with "Unable to find installation for pdftopng(0.2.3)"....Later I was able to install pdftopng seperately using wheel file for python 3.11. But now, I get the another error

"Traceback (most recent call last):\n
File \"/usr/local/bin/pdftopng\", line 5, in \n from pdftopng.cli import cli\n
File \"/usr/local/lib/python3.10/site-packages/pdftopng/cli.py\", line 5, in \n
from . import pdftopng\n ImportError: libpoppler.so.111: cannot open shared object file: No such file or directory\n".

I have poppler-utils installed.. Any idea how this can be resolved ?

unnikrishnancs commented 1 year ago

I meant Python 3.10..Sorry for the typo

bosd commented 1 year ago

related to #353 where pdftopng is removed as a hard dependency.

bosd commented 1 year ago

Maybe this post is helpfull to resolve the issue: https://github.com/camelot-dev/camelot/issues/362#issuecomment-1528966347

unnikrishnancs commented 1 year ago

Thanks for your suggestion. I will check

On Sat, Jul 15, 2023 at 2:43 AM bosd @.***> wrote:

Maybe this post is helpfull to resolve the issue:

362 (comment)

https://github.com/camelot-dev/camelot/issues/362#issuecomment-1528966347

— Reply to this email directly, view it on GitHub https://github.com/camelot-dev/camelot/issues/380#issuecomment-1636450634, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ7WS44EGX7CWFMVL7QM7VLXQGZBFANCNFSM6AAAAAAYOY3DSY . You are receiving this because you authored the thread.Message ID: @.***>

-- Regards, Unnikrishnan Mob - +91/8095309174

vherasme commented 1 month ago

Hello. Any progress on this?

bosd commented 1 month ago

Hello. Any progress on this?

You can try this fork. https://github.com/py-pdf/pypdf_table_extraction

Development of Camelot is continued there.

vherasme commented 1 month ago

Hello. Any progress on this?

You can try this fork. https://github.com/py-pdf/pypdf_table_extraction

Development of Camelot is continued there.

Thanks a lot. I will check it