[782]AttributeError: module 'tabula' has no attribute 'read_pdf'
- 2020 年 3 月 28 日
- 筆記
from tabula import read_pdf
报错:ImportError: cannot import name ‘read_pdf’
解决:
pip uninstall tabula pip3 install tabula-py
import tabula # Read pdf into DataFrame df = tabula.read_pdf("./P26.pdf",pages=str(1))
from tabula import wrapper df = wrapper.read_pdf('my_pdf')