Здравствуйте! Хочу поработать с pdf файлом, но пишет что версия слишком новая, что делать?
from pathlib import Path
from PyPDF2 import PdfFileReader
pdf_path = (
Path.home()
/ "Desktop"
/ "Бот клиенты"
/ "Ренат"
/ "DHLeMailShip_PDFClient_RU_050005.pdf"
)
pdf = PdfFileReader(str(pdf_path))
print(pdf.getNumPages())
print(pdf.documentInfo)
page = pdf.getPage(0)
print(page.extractText())
Ошибка
The document you are trying to load requires Adobe Reader 8 or higher. You may not have the Adobe Reader installed or your viewing environment may not be properly configured to use Adobe Reader.