pygmt.show_versions

pygmt.show_versions(file=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>)[source]

Print various dependency versions which are useful when submitting bug reports.

This includes information about:

  • PyGMT itself

  • System information (Python version, Operating System)

  • Core dependency versions (NumPy, Pandas, Xarray, etc)

  • GMT library information

It also warns users if the installed Ghostscript version has serious bugs or is incompatible with the installed GMT version.