-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
ghostscript-python not installed #25
Comments
I've got a python-ghostscript package in conda-forge now. Does installing it help with your bug? |
yup, that works, but you have to install by hand. #27 should fix that :-) Thanks, -CHB |
#26 should have fixed this with the 0.11 release |
And indeed it has -- thanks! Note: I do suggest you look at #27 -- in addition to the ghostscript-python dependency, it adds a test of actually reading a PDF -- a good conda build test will test that the entire install, including dependencies, works. |
This can be closed out now. |
Solution to issue cannot be found in the documentation.
Issue
When I try to use camelot to read a pdf, I get:
ModuleNotFoundError: No module named 'ghostscript'
which makes sense, as the ghostscript-python pacakge is not installed.
the recipe depends on ghosscript, but that's jsut the C lib (system), not the Python wrapper. :-(
It doesn't look like there is a conda-forge package for ghostscript-python, so that's the first step to getting this to work.
I have to wonder how anyone uses this package at all?
NOTE: the tests should probably not just import camelot, but also try to read an actual PDF, so you'd know if it actually works.
I'll try to put together a PR ...
tested with a fresh install of jsut camelot-python (py3.12) as well as into an existing python 3.10 environment -- same result.
If I
pip install ghostscript
after the conda install, it does work, becasue that installs the python wrapper.Installed packages
Environment info
The text was updated successfully, but these errors were encountered: