Problem using pygmt with pip install

PyGMT relies on GMT. When you run pip install pygmt, you only install the PyGMT package. The required GMT package (which is not written in Python) is still missing.

I think you have two choices:

  1. Install miniconda instead, which is much smaller than anaconda.
  2. Build GMT from source code, and then set GMT_LIBRARY_PATH to the path of the GMT library
1 Like