NJ1
NJ1

Reputation: 77

How to install Camelot package in Python?

I need to convert tabular PDFs to CSV. I tried with everything like tabula, pdfminer etc... but nothing seems to give me desired output.

I came across Camelot and want to give it a go but not able to install it over Anaconda. I am trying with conda install -c conda-forge camelot-py but it does not seem to return console control.

How can I proceed further with this?

Upvotes: 0

Views: 12033

Answers (3)

EliSquared
EliSquared

Reputation: 1559

This worked for me on ubuntu 22.04 using a virtual env and pip:

pip3 install "camelot-py[base]"

Upvotes: 0

Elvin Aghammadzada
Elvin Aghammadzada

Reputation: 881

If you are on google colab, create a new notebook and install it like this. This one handles Ghostscript issues as well.

!pip install camelot-py[cv]

Upvotes: 1

NJ1
NJ1

Reputation: 77

I have found the solution, we need to install Ghostscript first, that too the GhostScript application is needed to be installed and added to the path in order for it to work

Upvotes: 1

Related Questions