“CalledProcessError”当我试图读取.pdf表时

问题描述 投票:-1回答:1

CalledProcessError:命令'['java',' - Dfile.encoding = UTF8',' - jar','C:\ Users \ vijv2c13136 \ AppData \ Local \ Continuum \ anaconda2 \ lib \ site-packages \ tabula \ tabula-1.0 .2-jar-with-dependencies.jar',' - pages','all',' - guess',' - format','JSON','resumes \ AbhinavReddy.pdf']'返回非零退出状态2

我尝试了很多解决方案。但是,那些对我不起作用。

提前致谢。

 print(wrapper.read_pdf("D:/PdfTableReader/adi.pdf", multiple_tables=True,pages="all"))
java python
1个回答
0
投票

问题可能与未安装(正确版本)Java运行时有关。

另见this github post

安装java的说明可以在here找到。

© www.soinside.com 2019 - 2024. All rights reserved.