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

Incompatible with PyPDF2 v3.0.0 #97

Open
darkdragon-001 opened this issue Nov 5, 2023 · 1 comment
Open

Incompatible with PyPDF2 v3.0.0 #97

darkdragon-001 opened this issue Nov 5, 2023 · 1 comment

Comments

@darkdragon-001
Copy link

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

Until this is fixed, please use PyPDF2 = ">=1.26, <=3.0.0" in pyproject.toml.

@kxr
Copy link

kxr commented Jul 24, 2024

Thanks. Just in case anyone is looking for more specific steps:

Got the following error:

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

Had to uninstall pyPDF2:

pip3 uninstall pyPDF

And install pyPDF2 < 3.0.0:

pip3 install "pyPDF2<3.0.0"

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

2 participants