Error after install PyGMT

After I installed PyGMT, i found the following error “GMTCLibNotFoundError: Error loading the GMT shared library libgmt.so. libgmt.so: cannot open shared object file: No such file or directory.” , how to solve it?

That looks like you need to install the GMT software as it isn’t finding a needed library. The installation instructions are at https://github.com/GenericMappingTools/gmt/blob/master/INSTALL.md

1 Like