notebook-as-pdf
notebook-as-pdf copied to clipboard
PdfFileWriter is deprecated and was removed in PyPDF2 3.0.0. Use PdfWriter instead.
PyPDF2 is now forcing use of PdfWriter
class instead of PdfFileWriter
so the library is broken.
Would you please update the code ?
In the meantime, I'm trying to force PyPDF2==2.12.1
in my requirements.
It sounds like you've looked into this issue so if you have the time you could also submit a Pull Request making the changes needed. That would be fantastic and help me out because I've not kept up with PyPDF2 development.
PyPDF2 is now forcing use of
PdfWriter
class instead ofPdfFileWriter
so the library is broken.Would you please update the code ?
In the meantime, I'm trying to force
PyPDF2==2.12.1
in my requirements.
Added pull request with fixes
I see that #41 has been merged. Could we get a new release as well?
+1 for a new release. Can't install and use notebook-as-pdf without this fix or the workaround mentioned.