D
D
dim_nikita2018-03-17 23:03:09
Python
dim_nikita, 2018-03-17 23:03:09

How to solve error with java with tabula-py?

There is a code:

import tabula

df = tabula.read_pdf("19.03_0.pdf", 'rb')

tabula.convert_into("test.pdf", "output.csv", output_format="csv")

tabula.convert_into_by_batch("input_directory", output_format='csv')

Error: ess.CalledProcessError: Command '['java', '-jar', here is my path\\tabula\\tabula-1.0.1-jar-with-dependencies.jar', '--pages', '1 ', '--guess', '19.03_0.pdf']' returned non-zero exit status 1.
Can you please tell me how to fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2018-03-18
@dim_nikita

Install the tabula package itself. Tabula-py is just a wrapper that starts the tabula process, it does not contain the tabula distribution.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question