Cześć, mam taki fragment kodu:
import camelot
with open('example.pdf', 'rb') as fh:
tables = camelot.read_pdf(fh, flavor='stream')
i ciągle dostaję błąd: AttributeError: '_io.BufferedReader' object has no attribute 'lower'.
Nie mam pomysłu już co tu może być nie tak. Jakieś sugestie?