Skip to content

Commit c2efb20

Browse files
btozerseisman
authored andcommitted
Update instructions to set GMT_LIBRARY_PATH (#324)
1 parent 5122397 commit c2efb20

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/install.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,4 +136,8 @@ This can happen if you have multiple versions of GMT installed.
136136

137137
You can tell PyGMT exactly where to look for ``libgmt`` by setting the
138138
``GMT_LIBRARY_PATH`` environment variable.
139-
This should be set to the directory where ``libgmt.so`` (or ``.dylib``) is found.
139+
This should be set to the directory where ``libgmt.so``, ``libgmt.dylib`` or ``gmt.dll``
140+
can be found for Linux, MacOS and Windows respectively.
141+
e.g. in a terminal run::
142+
143+
export GMT_LIBRARY_PATH=$HOME/anaconda3/envs/pygmt/lib

0 commit comments

Comments
 (0)