Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Died kernel when running tabula

I'm running tabula.read_pdf function on Jupyter Notebook. It keeps telling me died kernel. Any ideas how to solve this? Thank you so much!

I tried to install the package on jupyter notebook, and install java on conda prompt. I was trying to extract dataframe from pdf

like image 730
Mr.Child Avatar asked Sep 12 '26 09:09

Mr.Child


1 Answers

This error is due to the function read_pdf() which is based on Tabula and therefore Java. There is an issue with the access of java within Python when calling this function. You have to uninstall the Jpype1 module as follows :

pip uninstall JPype1
like image 177
SweetGazelle276 Avatar answered Sep 13 '26 23:09

SweetGazelle276



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!