[Thread Prev][Thread Next][Index]

Re: [ferret_users] GO files don't work from any directory



Hi,

On Fri, Mar 6, 2020 at 6:47 AM Karl Smith - NOAA Affiliate <karl.smith@xxxxxxxx> wrote:

I corrected the path and then run the file again with a:
./pyferret-activate.sh


I recommend creating this kind of wrapper (script) around pyferret:

#!/bin/sh
CONDABASE=/usr/local/miniconda
. $CONDABASE/bin/activate FERRET
# export FER_GO="$FER_GO $HOME/lib/ferret" # <- Your customizations if necessary
exec $CONDABASE/bin/pyferret "$@"

naming this script "pyferret" and forget about the path issues forever!  All you need is to find out where your "condabase" is.  The above example is for the homebrew installation of miniconda.

Ryo


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

Privacy Policy | Disclaimer | Accessibility Statement