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

Is the Installation documentation providing correct information ? #355

Closed jiaulislam closed 1 year ago

jiaulislam commented 1 year ago

Describe the bug

Ok so half an hour later still struggling to run a single example getting below exception

DeprecationError: PdfFileReader is deprecated and was removed in PyPDF2 3.0.0. Use PdfReader instead.

pip install "camelot-py[base]"

Expected behavior Should atleast run and give some output !

Code

import camelot

tables = camelot.read_pdf('Kids.pdf')

Environment

jiaulislam commented 1 year ago

solved with https://stackoverflow.com/questions/74939758/camelot-deprecationerror-pdffilereader-is-deprecated