Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ModuleNotFoundError: No module named 'camelot'

I want to extract tables from pdf and for that I used Camelot. But I'm getting this error whenever I try to import it:

    import camelot
    Traceback (most recent call last):

    File "<ipython-input-11-679d8f55abf0>", line 1, in <module>
    import camelot

    ModuleNotFoundError: No module named 'camelot'

I've tried installing camelot using:

   pip install camelot-py[cv] 

and

   pip install camelot-py[all]

but I'm getting the same error again and again. How do I remove this? Your help would be appreciated!

like image 459
rishita agnihotri Avatar asked Sep 05 '25 07:09

rishita agnihotri


1 Answers

Check for your python version by writing python --version in the command prompt with the path where python is installed.

For python 3.7, try:

pip install camelot-py

https://pypi.org/project/camelot-py/

I hope this works for you.

like image 179
user78910 Avatar answered Sep 07 '25 19:09

user78910