NOAA-PMEL / PyFerret

The PyFerret program and Python module from NOAA/PMEL
https://ferret.pmel.noaa.gov/Ferret/
The Unlicense
60 stars 22 forks source link

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/ . . . ' #71

Open ryofurue opened 4 years ago

ryofurue commented 4 years ago

When plotting an image on pyferret, I get the above warning.

I don't know what flavor of Linux it is, but uname -a gives

Linux [. . . machine name . . .] 2.6.32-754.22.1.el6.x86_64 #1 SMP Tue Sep 17 16:24:44 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

I've just installed miniconda on a Linux machine under my home directory using Miniconda3-latest-Linux-x86_64.sh, which I downloaded from the miniconda homepage. Then

 conda=$HOME/miniconda3/bin/conda
 $conda update conda --all --yes
 $conda create -n FERRET -c conda-forge pyferret ferret_datasets --yes

When I invoke pyferret, I use the following script:

CONDABASE=$HOME/miniconda3
. $CONDABASE/bin/activate FERRET
export FER_GO="$FER_GO $HOME/lib/ferret"
exec $CONDABASE/envs/FERRET/bin/pyferret -nojnl "$@"