AttributeError: 'Document' object has no attribute 'pageCount'
时间: 2023-09-29 21:03:36 浏览: 97
AttributeError是Python中的一个错误类型,它表示在对象上访问一个不存在的属性。根据引用,错误信息指出在一个Document对象上访问了一个名为'pageCount'的属性,但该属性不存在。为了解决这个问题,你可以将'pageCount'改为'page_count',以匹配对象上实际存在的属性名。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [AttributeError: ‘Document‘ object has no attribute ‘pageCount‘ PyMuPDF库](https://blog.csdn.net/weixin_63676550/article/details/130442949)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文