Patch Camelot: Modify the handlers.py file in the Camelot source code
Replace: from PyPDF2 import PdfFileReader with from PyPDF2 import PdfReader
Find and replace all instances of PdfFileReader with PdfReader Find and replace all instances of isEncrypted with is_encrypted Replace infile.getNumPages() with len(infile.pages) Replace PdfFileWriter with PdfWriter Replace addPage with add_page
THen restart the Kernel if in a Jupyter notebook.