【发布时间】:2020-02-11 01:36:21
【问题描述】:
我正在尝试使用 camelot 从 pdf 中提取表格,但出现此属性错误。能否请你帮忙?
import camelot
import pandas as pd
pdf = camelot.read_pdf("Gordian.pdf")
AttributeError Traceback(最近一次调用最后一次) 在 ----> 1 pdf = camelot.read_pdf("Gordian.pdf")
AttributeError: 模块 'camelot' 没有属性 'read_pdf'
【问题讨论】:
-
请阅读github.com/atlanhq/camelot/issues/118 和github.com/atlanhq/camelot/issues/145。如果找不到解决方案,请发布命令 dir(camelot) 的输出
-
你可能安装了 camleot 而不是 camelot-py
标签: python python-camelot