I have been meaning to write to the list about using the Homebrew installation of Miniconda. It seems strange to use one package manager (Homebrew) to install another package manager (Miniconda), instead of just installing Miniconda directly from the Miniconda site (
https://docs.conda.io/en/latest/miniconda.html). Maybe this is so these two package managers "play well" together. If it works, then great; which is why I haven't made any comments about this arrangement before now.
However, about a month ago one user here at NOAA/PMEL had problems with this arrangement after an update. He ended up removing Miniconda to do a complete fresh reinstall, only to discover the miniconda recipe in Homebrew no longer existed. After installing Miniconda downloaded from the miniconda site, everything worked fine.
But as Ryo mentioned, creating a script to do the conda activate and then add any additional paths to the environment variables is an excellent idea (there is also an example in that README.md file). Changes to the pyferret-activate.sh script under the etc/conda/activate.d/ directory are likely to be lost when PyFerret is updated.
Best regards,
Karl
Karl M. Smith, Ph.D.
JISAO Univ. Wash. and PMEL NOAA
"The contents of this message are mine personally and do
not necessarily reflect any position of the Government
or the National Oceanic and Atmospheric Administration."