[Thread Prev][Thread Next][Index]

Re: [ferret_users] pyferret on M2 macs



Dear Ferret users,

I spoke too soon yesterday: my new pyferret installation didn't work.  It had this problem: https://github.com/conda-forge/pyferret-feedstock/issues/94 .  So, I implemented the solution shown in this URL and then pyferret finally worked.

Here I list the bash commands you use to install pyferret from scratch on a new Mac.

bash$ brew install minicona
bash$ conda=/opt/homebrew/Caskroom/miniconda/base/bin/conda
bash$ $conda config --env --set subdir osx-64
bash$ $conda create -n FERRET -c conda-forge pyferret ferret_datasets python=3.9 --yes

assuming that you have had Homebrew already installed.


conda does not build or compile PyFerret, it can only install and link already-compiled versions with the utilities (python) and packages it needs. 

But there is no version of Pyferret built for arm64, at least not on github. (There are arm64 python and conda versions, however).


Yes, that's the reason why we need to use the osx-64 repository, which is (presumably) for binaries that work both on Intel and on ARM CPUs.

 
The stackoverflow page you link to is running Pyferret through Rosetta (A
[Thread Prev][Thread Next][Index]