CalledProcessError: Command '['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', 'TONY.pdf']' returned non-zero exit status 2
When I try to print the tables in the .pdf file. It shows this particular error.
from tabula import wrapper
print(wrapper.read_pdf("TONY.pdf", multiple_tables=True,pages="all")
This is my code for table extraction of .pdf file. But, it shows the above error when I am trying to print.