Thanks for your feedback! I think it means PyGMT works well on FreeBSD, at least the simplest examples should work.
The error you’re seeing is because the default Python console can’t “show” the image you’re plotting. You have to use fig.show(method="external") to open the figure using your default PDF viewer. (Please note that the error message says “use 'external=True” but the message is out-of-date and should be fixed.)
I tried to install pygmt using the command:
pip install git+https://github.com/GenericMappingTools/pygmt.git@freebsd
It doesn’t work. I get this error message.
Collecting git+https://github.com/GenericMappingTools/pygmt.git@freebsd
Cloning https://github.com/GenericMappingTools/pygmt.git (to revision freebsd) to /tmp/pip-req-build-yfd06wdt
WARNING: Did not find branch or tag ‘freebsd’, assuming revision or ref.
ERROR: Command errored out with exit status 1: git checkout -q freebsd Check the logs for full command output.
@ahogrelius Thanks for your trying to help. We already merged the “freebsd” branch into master branch (i.e., PyGMT now provides some basic support for FreeBSD, although there is no guarantee that it works well as expected).
To install the latest PyGMT, you can use the following command:
After the addition I get the following:
Python 3.7.9 (default, Oct 3 2020, 01:29:35)
[Clang 8.0.1 (tags/RELEASE_801/final 366581)] on freebsd12
Type “help”, “copyright”, “credits” or “license” for more information.