You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pdf File Reader is deprecated. It has been removed since PyPDF2 3.0
Here the log:
Traceback (most recent call last): File "C:\Users\Snow\Documents\Workspace\MonCahier\dev_team\main.py", line 12, in <module> Split.split(directory, filename) File "C:\Users\Snow\Documents\Workspace\MonCahier\dev_team\Split.py", line 8, in split inputpdf = PdfFileReader(open(filename, "rb")) File "C:\Users\Snow\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyPDF2\_reader.py", line 1974, in __init__ deprecation_with_replacement("PdfFileReader", "PdfReader", "3.0.0") File "C:\Users\Snow\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyPDF2\_utils.py", line 369, in deprecation_with_replacement deprecation(DEPR_MSG_HAPPENED.format(old_name, removed_in, new_name)) File "C:\Users\Snow\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyPDF2\_utils.py", line 351, in deprecation raise DeprecationError(msg) PyPDF2.errors.DeprecationError: PdfFileReader is deprecated and was removed in PyPDF2 3.0.0. Use PdfReader instead.
The text was updated successfully, but these errors were encountered:
Pdf File Reader is deprecated. It has been removed since PyPDF2 3.0
Here the log:
Traceback (most recent call last): File "C:\Users\Snow\Documents\Workspace\MonCahier\dev_team\main.py", line 12, in <module> Split.split(directory, filename) File "C:\Users\Snow\Documents\Workspace\MonCahier\dev_team\Split.py", line 8, in split inputpdf = PdfFileReader(open(filename, "rb")) File "C:\Users\Snow\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyPDF2\_reader.py", line 1974, in __init__ deprecation_with_replacement("PdfFileReader", "PdfReader", "3.0.0") File "C:\Users\Snow\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyPDF2\_utils.py", line 369, in deprecation_with_replacement deprecation(DEPR_MSG_HAPPENED.format(old_name, removed_in, new_name)) File "C:\Users\Snow\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\PyPDF2\_utils.py", line 351, in deprecation raise DeprecationError(msg) PyPDF2.errors.DeprecationError: PdfFileReader is deprecated and was removed in PyPDF2 3.0.0. Use PdfReader instead.
The text was updated successfully, but these errors were encountered: