Python Forum
ModuleNotFoundError: No module named 'PyPDF2' - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: ModuleNotFoundError: No module named 'PyPDF2' (/thread-40498.html)



ModuleNotFoundError: No module named 'PyPDF2' - Benitta2525 - Aug-07-2023

I am getting an IndexError, and not sure why? My goal is to when i login submitted success then take the next py file .

from PyPDF2 import PdfReader, PdfWriter
ModuleNotFoundError: No module named 'PyPDF2'


RE: ModuleNotFoundError: No module named 'PyPDF2' - DPaul - Aug-07-2023

Hi,
I use PyPDF sometimes, like this:
from PyPDF2 import PdfFileReader, PdfFileWriter
I seem to remember that your import format is obsolete ?...
Paul