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

Error loading GMT shared library #6

Open
sbrent88 opened this issue Sep 1, 2022 · 1 comment
Open

Error loading GMT shared library #6

sbrent88 opened this issue Sep 1, 2022 · 1 comment

Comments

@sbrent88
Copy link

sbrent88 commented Sep 1, 2022

Hello,

I was trying to use the QuakeLabeler package on some data and when I tried to run it I got the following error:

pygmt.exceptions.GMTCLibNotFoundError: Error loading GMT shared library at 'libgmt.so'.
libgmt.so: cannot open shared object file: No such file or directory

I saw that there were some responses to a similar question in the past, but they all involved using conda, which I don't use at it interferes with other libraries I use.

So far I tried using:

pip install pygmt

as well as GMT:

sudo apt-get install gmt gmt-dcw gmt-gshhg
sudo apt-get install ghostscript
Unfortunately, it did not work.

Any suggestions would be appreciated

@maihao14
Copy link
Owner

maihao14 commented Sep 1, 2022

Hi, @sbrent88 here are 2 possible solutions in my mind:

  1. Create a conda environment for QuakeLabler. Which will not bother your other libraries.
  2. Comment(block) PyGMT import and relevant codes in QuakeLabeler. Those codes are just for creating overview maps. It's not essential for producing datasets.
    Hope this will help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants