4

Facing the below error, when I try to execute the sample code given in Basic Usage of Link:

Traceback (most recent call last):
  File "J:/TestPy/Test/readPDF.py", line 2, in <module>
    from pdfminer.pdfdocument import PDFDocument
ModuleNotFoundError: No module named 'pdfminer.pdfdocument'

I checked these 2 links - Link1 Link2 but was unable to figure it out.

But when I checked the github page - Link I notice that PDFdocument.py itself is missing. Also when I download from pdfminer3k 1.3.1 from Link even this does not have that.

Is the error due to missing PDFdocument in the package itself? or am I doing something wrong?

iCoder
  • 1,406
  • 6
  • 16
  • 35

0 Answers0