uafgeotools/mtuq

meca [error] running serialgridsearch.dc.py example

jl-miller opened this issue · 4 comments

pygmt.exceptions.GMTCLibError: Module 'meca' failed with status code 72:
meca [ERROR]: Option -c is not a recognized common option

Thanks for this report. I get this error too after installing mtuq and pygmt from scratch under conda. In my case, it seems that conda install pygmt now results in a very outdated version of pygmt. Could I ask what is the output of pygmt.__version__ in your case?

(mtuq)$ pip show pygmt
Name: pygmt
Version: 0.2.1

print(pygmt.version)
v0.2.1

To update pygmt you could try:

conda install 'pygmt>=0.9'

After updating in the above manner, I no longer get the pygmt 'meca' error.

Now added to the documentation:

https://uafgeotools.github.io/mtuq/install/issues.html#troubleshooting-pygmt-installation

Please reopen if there are any other related PyGMT problems.