python-3.xtext-extractionpython-pdfkit

python pdfpage.extract_words throws error


I have this code in my project to get all the words from pdf.

words = pdfPage.extract_words(0.5,0.5)

which throws the below error:

Cannot convert to Decimal.

Thanks in advance.


Solution

  • Try to downgrade the Pdf-minder version. Since i had this same issue resolving by downgrading.