Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants