-
Notifications
You must be signed in to change notification settings - Fork 490
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
Dependencies not installed #552
Comments
Added help wanted label, if someone wants to make a pr for this. |
@bosd Looks like you're the only one running around here. If you add me, I can scrub the issues and prs to see which ones can be closed. There is a lot of overlap between this repo and the previous pypdf-table-extraction and it appears that some stuff here has been merged through that project or is no longer applicable. I can also help with documentation cleanup. I'm new to package dev so not quite looking to make major changed but maybe if I become more familiar with the code I can work up to that. this project was helpful for me and I'm looking to pay forward and learn some new things. |
@DoomedJupiter I know it is a lot of work to sync the repos. When we transferred to the Housekeeping is a very important task. I just discovered, that I don't have enough permissions yet to add maintainers. Once that is settled, we will archive the |
Sorry for the late response here. Just made @bosd an owner in the organization so he should have all the required permissions, sorry for being the bottleneck here. I would love for the development to continue in this organization 🙏🏽 |
@DoomedJupiter I've elevated your rights. You can now maintain issues and pr's. |
@bosd Thanks! Is it best to mention other maintainers in various issues/prs if I have questions about the history or past decisions? Also, is there an offline means of discussion regarding design decisions, roadmap, etc? I'd like to clean up some of the issues/prs but I don't want to just go start closing stuff without everyone else being in the loop. |
@DoomedJupiter Currently there is no roadmap I'm aware of. Good idea to start one. Well, There is a lot of backlog. So maybe better ask for forgiveness then permission. |
Describe the bug
It appears that installing the package
camelot
does not install one dependency (pillow
/PIL) which prevents the package from working "out of the box". Installingcamelot
into a fresh venv and running the README example results in the following errorerror: Ghostscript is not installed.
. This error appears to be the result of not having thepillow
package installed.Discussion
I read the installation instructions and the associated Installing the dependencies page which indicates that
pdfium
has replacedghostscript
as the default image conversion backend. I assume the intent here is to allow for using thecamelot
package without having to install ghoscript.After some digging it appears that
camelot
defaults to thepypdfium
backend, and if that doesn't work, falls back toghostscript
backend. It appears thatpypdfium
, as used bycamelot
, requirespillow
but thepypdfium
package does not install this dependency and instead relies on users to install it if they need it (see here).It looks like adding
pillow
as a dependency forcamelot
will resolve this issue.Note also that
pillow
is a dependency formatplotlib
, so if there is a way to installcamelot
withmatplotlib
as a dependency, then this issue won't be observed.Steps to reproduce the bug
pip install camelot-py[base]
error: Ghostscript is not installed.
Expected behavior
pip install camelot-py[base]
Code
from README example
PDF
from README example
Screenshots
N/A
Environment
Additional context
The text was updated successfully, but these errors were encountered: