Ubuntu – PyMuPDF: AttributeError: 'Document' object has no attribute 'loadPage'
I'm trying to convert from pdf pages to images, in order to use OCR on image. I have Ubuntu 21.10 Python 3 import fitz # read pdf file pdf = fitz.open(file_path_name) # load pdf page using index page = pdf.loadPage(0)…