pdf_to_docx
pdf_to_docx copied to clipboard
运行image_process.py报错
AttributeError: 'Document' object has no attribute 'pageCount'
Traceback (most recent call last):
File "C:\Users\Chenlz\Desktop\pdf_to_docx\src\pdf_doc\pdf_recovery_doc.py", line 121, in
问题找到了,是新版本的fitz库的方法发生了变化,应该改为page_count