Pythn
Pythn

Reputation: 171

ModuleNotFoundError: No module named 'tabula'. After trying many things

Yes, I know this question has been asked in the past, twice. Still I tried all the ideas that were proposed plus ideas from other websites and yet it still doesn't work, so here I go:

I have windows 10, python 3.8.3 and java 1.8.0_261.

I tried first pip install tabula-py.
Then I tried pip install tabula_py.
Then I tried to find the version of java in cmd which it didn't find. I then added a path (I found on the internet) to the settings in "My PC" and then I did find the version of java.
I tried to restart my computer.
I tried pip uninstall tabula-py and then pip3 install tabula-py

But still, when I run "import tabula" in jupyter notebook, it says he can't find this module. I have searched the entire internet and tried everything suggested but with no luck. Can anyone please help me?

Links to the other 2 questions I went over:
Python: I tried to use tabula: ModuleNotFoundError: No module named 'tabula'
Tabula-py - ImportError: No module named tabula

Upvotes: 2

Views: 3170

Answers (2)

KKC
KKC

Reputation: 1

Does the "conda" only work in a specific environment ? Because I try command in vs_code but show errors about "conda" is unrecognized command...

Upvotes: 0

Pythn
Pythn

Reputation: 171

So in the end I found yet another link with a line of code that did work!

conda install -c conda-forge tabula-py

To my dissapointment I have no idea why this works and why the other suggested code didn't, as cmd is not my specialty. If anyone understands and could explain what the issue was or what the difference is, I would love to hear. Thank you

Source: https://anaconda.org/conda-forge/tabula-py
I only ran the first line

Upvotes: 2

Related Questions