Error loading GMT shared library
Opened this issue · 1 comments
sbrent88 commented
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 commented
Hi, @sbrent88 here are 2 possible solutions in my mind:
- Create a conda environment for QuakeLabler. Which will not bother your other libraries.
- 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!