yebol
November 21, 2023, 2:37pm
1
Hi,
I’m trying to install GMT in a Docker image. However, the conda/mamba don’t seem to be able to find gmt.
My environment is a Macbook with a M2 Max chip.
Error message:
The following package could not be installed
└─ gmt does not exist (perhaps a typo or a missing channel).
Steps to reproduce the problem:
docker run -it --rm -p 8888:8888 -v ${PWD}:/home condaforge/mambaforge:latest
mamba install gmt
I guess this problem is because gmt is not available in conda-forge/linux-aarch64 or conda-forge/noarch? Is it possible to add gmt there?
Thanks
seisman
November 22, 2023, 3:19am
2
Yes, currently, GMT on conda-forge only support linux-64, osx-64, win-64 and osx-arm64.
Could you please open a feature request https://github.com/conda-forge/gmt-feedstock then we can see what’s the best way to support linux-aarch64 and noarch (if possible)?
yebol
November 22, 2023, 3:52am
3
Thanks for the reply. I’ve opened an issue on Github (https://github.com/conda-forge/gmt-feedstock/issues/273 ).
yebol
November 22, 2023, 8:27am
4
It should be possible to support linux-aarch64 given that I can successfully install GMT 6.0 using the apt-get command. But I can’t use pygmt with gmt 6.0, hence my thread.
weiji14
December 2, 2023, 11:27pm
5
As mentioned at GMT and pygmt on Asahi Linux (ARM, Apple hardware) , there should be aarch64 builds for GMT on conda-forge now, though they’re only limited to GMT 6.4 and above (or GMT 5.x).