Hello everyone,
My name is Ozgur, and I installed pygmt. I followed the instructions on to install GMT 6 using the Anaconda Python distribution. When I tested my installation by running “pygmt.test()” command, I received the following assertion error:
> ============================================================== short test summary info ===============================================================
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/session.py::pygmt.clib.session.Session
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/session.py::pygmt.clib.session.Session.virtualfile_from_grid
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_basemap.py::test_basemap_list_region - pygmt.exceptions.GMTCLibError: Modu...
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_basemap.py::test_basemap_loglog - pygmt.exceptions.GMTCLibError: Module 'p...
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_basemap.py::test_basemap_power_axis - pygmt.exceptions.GMTCLibError: Modul...
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_datasets.py::test_earth_relief_60 - AssertionError:
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_datasets.py::test_earth_relief_30 - AssertionError:
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcontour.py::test_grdcontour
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcontour.py::test_grdcontour_labels
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcontour.py::test_grdcontour_slice
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcontour.py::test_grdcontour_file
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcontour.py::test_grdcontour_interval_file_full_opts
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdimage.py::test_grdimage
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdimage.py::test_grdimage_slice
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdimage.py::test_grdimage_file
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdtrack.py::test_grdtrack_input_dataframe_and_dataarray - AssertionError:
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdtrack.py::test_grdtrack_input_csvfile_and_dataarray - AssertionError:
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdtrack.py::test_grdtrack_input_dataframe_and_ncfile - AssertionError:
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdtrack.py::test_grdtrack_input_csvfile_and_ncfile - AssertionError:
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py::test_grdview_with_perspective_and_zscale
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py::test_grdview_with_perspective_and_zsize
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py::test_grdview_with_cmap_for_image_plot
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py::test_grdview_with_cmap_for_surface_monochrome_plot
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py::test_grdview_with_cmap_for_perspective_surface_plot
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py::test_grdview_on_a_plane
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py::test_grdview_on_a_plane_with_colored_frontal_facade
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py::test_grdview_with_perspective_and_zaxis_frame
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py::test_grdview_surface_plot_styled_with_contourpen
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py::test_grdview_surface_mesh_plot_styled_with_meshpen
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py::test_grdview_on_a_plane_styled_with_facadepen
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py::test_grdview_drapegrid_dataarray
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_info.py::test_grdinfo - AssertionError: assert '-180 180 -90 90 -8425 5551...
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_info.py::test_grdinfo_file - AssertionError: assert '-180 180 -90 90 -8425...
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.py::test_makecpt_to_plot_grid
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.py::test_makecpt_to_plot_grid_scaled_with_series
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.py::test_makecpt_truncated_to_zlow_zhigh
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.py::test_makecpt_truncated_at_zlow_only
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.py::test_makecpt_truncated_at_zhigh_only
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.py::test_makecpt_reverse_zsign_only
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.py::test_makecpt_reverse_color_and_zsign
FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.py::test_makecpt_continuous
=============================================== 41 failed, 209 passed, 1 skipped in 106.61s (0:01:46) ================================================
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/qudocco/anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/__init__.py", line 101, in test
assert status == 0, "Some tests have failed."
AssertionError: Some tests have failed.”
I tried almost all the exercises on the gallery and they all worked easily. So, is there any problem with my installation? Should I be worried about these fails/errors?
Regards,