felipeochoa / minecart

Simple, Pythonic extraction of text, shapes and images from PDFs
MIT License
79 stars 17 forks source link

AttributeError: module 'pdfminer.pdfparser' has no attribute 'PDFDocument' #41

Closed gitsnehasish closed 3 years ago

gitsnehasish commented 3 years ago

import minecart pdffile = open('example.pdf', 'rb') doc = minecart.Document(pdffile)

The above command not working. Getting the Below error.

AttributeError: module 'pdfminer.pdfparser' has no attribute 'PDFDocument'

felipeochoa commented 3 years ago

20 #31