Skip to content
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

mac m1 Ghostscript is not installed. #464

Open
sanyuanya opened this issue Nov 28, 2023 · 4 comments
Open

mac m1 Ghostscript is not installed. #464

sanyuanya opened this issue Nov 28, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@sanyuanya
Copy link

Describe the bug
Ghostscript is not installed. You can install it using the instructions here: https://camelot-py.readthedocs.io/en/master/user/install-deps.html

I have installed brew install ghostscript tcl-tk but it doesn't work

Steps to reproduce the bug

Expected behavior

Code

import camelot

# add your code here

PDF

Screenshots

Environment

  • OS: [e.g. macOS]
  • Python version:
  • Numpy version:
  • OpenCV version:
  • Ghostscript version:
  • Camelot version:

Additional context

@sanyuanya sanyuanya added the bug Something isn't working label Nov 28, 2023
@jsoma
Copy link

jsoma commented Dec 2, 2023

Try these suggestions here. The quickest solution is probably this one:

mkdir -p ~/lib
ln -s "$(brew --prefix gs)/lib/libgs.dylib" ~/lib

@ditarnnt
Copy link

it work like a charm

@karaposu
Copy link

@jsoma answer Doesnt work for me. I am using M1 Pro.

@JingyiXXX
Copy link

works for me, I am using mac M3 chip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants