首页 > 解决方案 > Python tabula 返回'attributeError:模块'tabula'没有属性'read_pdf''

问题描述

我和我一起Tabula做一些 pdf 抓取。但是,当我运行:

tables = tabula.read_pdf(file, pages = "all", multiple_tables = True)

我明白了attributeError: module 'tabula' has no attribute 'read_pdf'.

我尝试了在网上找到的大多数解决方案,安装tabula-py而不是仅安装tabula也无济于事。有什么线索吗?

非常感谢!

标签: pythonpdfattributeerrortabulapdf-scraping

解决方案


推荐阅读