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
jbig2dec error #181
Comments
You need to make sure that you have jbig2dec installed and that Windows can find it on one of the PATH environment variables. That means, type I don't know if Anaconda installs it for you, but probably not. It's an external binary, not Python. |
On Linux you can usually do |
Yeah, there was an anaconda package for it, so I installed that - so not in the Path then perhaps, will check that out, thanks. |
Ok, this environment finds it ok :-
|
so not a path problem at least |
I did put a check in here when I was looking into it, and it does make it to here def jbig2dec_available() -> bool:
try:
run(['jbig2dec', '--version'], stdout=DEVNULL, check=True)
print("got jbig2dec ok")
except (CalledProcessError, FileNotFoundError):
return False
else:
return True |
So default jbig2dec version on the ec2 machine I tried first with an apt install 0.13, which doesn't have a -e flag, so will try another |
However, the anaconda library worked ok on ubuntu, so the above problem a windows problem most likely. What versions of jbig2dec do you expect it to work with? |
0.15 would be the minimum, when I haven't attempted to establish a minimum before. I'll treat this as a bug that we don't provide an appropriate error message if jbig2dec is missing or too old. |
Thanks. |
Hi, I installed this from anaconda (using windows 10, so don't know if it works necessarily, anyone else?)
and got this after I put an Exception handler in to tell me more :
hopefully will get to try it on linux later
The text was updated successfully, but these errors were encountered: