'Camelot Table Extraction Error (PdfReadWarning: incorrect startxref pointer(0) [_reader.py:938])

I am trying to extract some tables from a .pdf doc but I got an error:

"PdfReadWarning: incorrect startxref pointer(0) [_reader.py:938]"

The code is pretty simple because I am just testing:

import camelot

file = r"myPCPath\myFile.pdf"

tables = camelot.read_pdf(file)
print(tables)

All the dependencies was installed and I didnt found any information about this issue :(



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source