question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

module 'tabula' has no attribute 'read_pdf'

See original GitHub issue

Dear tabula Developers,

I just installed tabula on Windows 10 x64, Anaconda Python 3.6 with the following command: >c:\Programs\Anaconda\Scripts\pip.exe install tabula-py

After that I restarted my python kernel and imported tabula:

import tabula
df = tabula.read_pdf('my_pdf')

But I get the following error message:

AttributeError: module ‘tabula’ has no attribute ‘read_pdf’

I checked the module folder in Anaconda (c:/Programs/Anaconda/Lib/site-packages/tabula/) and I found the 2 jar files and the 2 py files, and the wrapper.py contains the read_pdf function.

Can you help me why I’m not able to load this function? I tried to check the installed version but

AttributeError: module ‘tabula’ has no attribute ‘version

By the way pip returned with a success message after install:

Installing collected packages: tabula-py Successfully installed tabula-py-0.8.0

I use several external modules in Anaconda and never get any issue like this…

Thank you!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

14reactions
priyanshuchauhancommented, Aug 6, 2017

@mitchbregs you’ve installed tabula instead of tabula-py sudo pip install tabula-py

5reactions
priyanshuchauhancommented, Jul 18, 2017

@ragesz


from tabula import wrapper
df = wrapper.read_pdf('my_pdf')

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python3 : module 'tabula' has no attribute 'read_pdf'
More than read_pdf, I actually want to convert to CSV and give the output. But that doesn't work as well. I get the...
Read more >
tabula-py - Read the Docs
tabula -py is a simple Python wrapper of tabula-java, which can read table of PDF. You can read tables from PDF.
Read more >
Python3 : module 'tabula' has no attribute 'read_pdf' - iTecNote
A .py program works but the exact same code, when exposed as API, doesn't work. The code reads the pdf with Tabula and...
Read more >
tabula.io
This module is a wrapper of tabula, which enables table extraction from a PDF. This module extracts tables from a PDF into a...
Read more >
[782]AttributeError: module 'tabula' has no attribute 'read_pdf'
[782]AttributeError: module 'tabula' has no attribute 'read_pdf' ; from tabula import read_pdf ; pip uninstall tabula pip3 install tabula-py · 2.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found