Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrapper.py and tabula jar are missing #42

Closed
3 of 4 tasks
Wind1002 opened this issue Jul 11, 2017 · 2 comments
Closed
3 of 4 tasks

wrapper.py and tabula jar are missing #42

Wind1002 opened this issue Jul 11, 2017 · 2 comments

Comments

@Wind1002
Copy link

Wind1002 commented Jul 11, 2017

Summary of your issue

I can import the library tabula, but the functions are still inaccessible. I checked the directory \site-packages\tabula. The wrapper.py and tabula jar file are missing.

Environment

Write and check your environment.

  • python --version: Python 3.6.1 :: Anaconda 4.4.0 (64-bit)
  • java -version: java version "1.8.0_131"
  • OS and it's version: Windows 10 64 bit
  • Your PDF URL:

What did you do when you faced the problem?

I tried to manually place them in the directory and run again. But it still doesn't work.

Example code:

df = tb.read_pdf("D:\\pdf table extract\\clarkfilterdcccrossref.pdf")

Output:

AttributeError                            Traceback (most recent call last)
<ipython-input-2-df8599025f3b> in <module>()
      1 #df = pd.DataFrame()
----> 2 df = tb.read_pdf("D:\\pdf table extract\\clarkfilterdcccrossref.pdf")
      3 tb.convert_into("D:\\pdf table extract\\clarkfilterdcccrossref.pdf","output.csv",output_format="csv")

AttributeError: module 'tabula' has no attribute 'read_pdf'

What did you intend to be?

Read the pdf file.

@chezou
Copy link
Owner

chezou commented Jul 11, 2017

Don't you install tabula instead of tabula-py? How did you install tabula-py?

I confirmed that error after the installation of tabula. After removing tabula, please re-install tabula-py.

pip uninstall tabula
pip install tabula-py

@chezou
Copy link
Owner

chezou commented Jul 27, 2017

@Wind1002 If the solution does not work, please provide further information and reopen this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants