Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

PdfFileReader in Version 0.9 shows Depreciation error #509

Open
Y-Srivaishnavi opened this issue Oct 11, 2024 · 2 comments
Open

PdfFileReader in Version 0.9 shows Depreciation error #509

Y-Srivaishnavi opened this issue Oct 11, 2024 · 2 comments

Comments

@Y-Srivaishnavi
Copy link

Y-Srivaishnavi commented Oct 11, 2024

I would also like to point out that, the latest version of the library does not reflect as a valid library in VSCode. I had to manually install version 0.7.2 and upgrade it.

The code:

import camelot

tables = camelot.read_pdf("C:/Users/..../s42773-023-00225-x.pdf")
print(tables)

The error:

PyPDF2.errors.DeprecationError: PdfFileReader is deprecated and was removed in PyPDF2 3.0.0. Use PdfReader instead.
@lucasdengcn
Copy link

+1 same issue.

@nathggns
Copy link

Same issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants