[Thread Prev][Thread Next][Index]

Re: [ferret_users] pyferret package not found ?



Hi PyFerret users,

On Tue, Jun 14, 2022 at 11:54 PM Shaun Bell - NOAA Federal <shaun.bell@xxxxxxxx> wrote:
I think (but may be incorrect) that the issue is that you have an M1 Mac and thus are looking for a osx-arm64 binary which ferret/pyferret is not currently being built for (https://anaconda.org/search?q=pyferret or https://anaconda.org/search?q=ferret).  I believe you will have to try building it from the source code.


I'm running pyferret on an M1 mac mini, even though the binaries are (or seem to me to be) for x86_64 .  macOS is designed to be able to run binaries built for Intel Macs.  (Use the "file" command on the dynamic libraries included in the conda package. See *footnote*.)

I install miniconda via homebrew and use the conda commands to install pyferret:  Basically I use just these three lines

brew install miniconda
conda update conda --all --yes
conda create -n FERRET -c conda-forge pyferret ferret_datasets --yes

But, I did this a long time ago.  I don't know if this method works today.

Regards,

Ryo
-------------
(*footnote*)
$ cd /opt/homebrew/Caskroom/miniconda/base/envs/FERRET/lib/python3.7/site-packages/pyferret
$ file libpyferret.cpython-37m-darwin.so
libpyferret.cpython-37m-darwin.so: Mach-O 64-bit bundle x86_64


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement