pdfminer.six
pdfminer.six copied to clipboard
TypeError: can't multiply sequence by non-int of type 'float'
Error raised by running the following code:
from langchain.document_loaders import PDFMinerPDFasHTMLLoader
loader = PDFMinerPDFasHTMLLoader(file_path)
data = loader.load()[0]
Raise the TypeError: can't multiply sequence by non-int of type 'float'
From library file/lines: pdfminer/pdfdevice.py:110
Can't upload the file itself.