“no module named PyPDF2” error

In my case, I was trying to import ‘pyPdf2’ instead of ‘PyPDF2’. Observe the case.

import PyPDF2

is correct.

Leave a Comment