<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi JP,<div class=""><br class=""></div><div class="">It looks like you have two separate installations of Miniconda on your machine. Unless you explicitly need both the $HOME/miniconda2 and $HOME/miniconda3 directories, I would suggest removing one of them (and the corresponding PATH entry in .bashrc) to avoid confusion. The only difference between these versions of Miniconda is the version of Python included in the default environment (the number indicates which major version is provided, 2 or 3); you can still create new environments containing Python 3 with Miniconda2, and vice-versa.</div><div class=""><br class=""></div><div class="">In this case, “conda” works by creating a self-contained environment (a directory located in the directory $HOME/miniconda2/envs/) with NCL and all of its dependencies installed. You can create an environment containing NCL by running the following command:</div><div class=""><font face="Courier New" class="">conda create --name ncl --channel conda-forge ncl</font></div><div class=""><br class=""></div><div class="">The “source activate” command “activates" the environment and allows you to use programs installed in it. More specifically, it will automatically add the environment’s “bin” directory to your PATH, and it will also automatically set your NCARG_ROOT environment variable to be the root directory of the environment. In order to activate the environment “ncl” that we created above, run the command:</div><div class=""><span style="font-family: 'Courier New';" class="">source activate ncl</span></div><div class=""><br class=""></div><div class="">Please let us know if this helps. We are still refining our <a href="http://ncl.ucar.edu/Download/conda.shtml" class="">conda installation procedures</a>, so all feedback is appreciated.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Kevin</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 17, 2017, at 2:11 PM, JP Kalb <<a href="mailto:jpkalb1990@yahoo.com" class="">jpkalb1990@yahoo.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div style="background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;" class=""><div dir="ltr" id="yui_3_16_0_ym19_1_1484633723253_45926" class=""><span id="yui_3_16_0_ym19_1_1484633723253_45925" class="">I have downloaded and installed Miniconda but I am unsure what you mean by activate it. The last part of my .bashrc now says </span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1484633723253_47617" class=""># added by Miniconda2 4.2.12 installer</div><div dir="ltr" id="yui_3_16_0_ym19_1_1484633723253_47618" class="">export Conda="/home/jp2nyy/miniconda2/bin:$PATH"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1484633723253_47619" class=""><br id="yui_3_16_0_ym19_1_1484633723253_47620" class=""></div><div dir="ltr" id="yui_3_16_0_ym19_1_1484633723253_47621" class="">export NCARG_ROOT="/usr/local/lib/NCL6.3:$PATH"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1484633723253_47622" class=""><br id="yui_3_16_0_ym19_1_1484633723253_47623" class=""></div><div dir="ltr" id="yui_3_16_0_ym19_1_1484633723253_47624" class=""># added by Miniconda3 4.2.12 installer</div><div dir="ltr" id="yui_3_16_0_ym19_1_1484633723253_45926" class=""></div><div dir="ltr" id="yui_3_16_0_ym19_1_1484633723253_47625" class="">export PATH="/home/jp2nyy/miniconda3/bin:$PATH"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1484633723253_47625" class="">Also what do you mean by source activate ncl.</div><div class=""></div><div id="yui_3_16_0_ym19_1_1484633723253_45927" class=""> </div><div class="signature" id="yui_3_16_0_ym19_1_1484633723253_45928">JP Kalb</div> <div class="qtdSeparateBR"><br class=""><br class=""></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" class=""> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" class=""> <div dir="ltr" class=""><font size="2" face="Arial" class=""> On Tuesday, January 17, 2017 12:52 PM, "HAVENER, KEVIN F GS-12 USAF ACC 14 WS/WXED" <<a href="mailto:kevin.havener@us.af.mil" class="">kevin.havener@us.af.mil</a>> wrote:<br class=""></font></div> <br class=""><br class=""> <div class="y_msg_container">But did you 'sudo apt-get remove ncl-ncarg'? That should rid you of your 6.1.2 install. Then install by your method of choice. I guarantee if you go through the conda install process as documented, then source activate the environment, it won't conflict with 6.1.2 if you still really need it. Be aware that anaconda or preferably miniconda will install a python environment in your home dir, so you will have to export that python environment to your path. I do this on a per terminal basis using an alias, then source activate the ncl environment. That way, miniconda python doesn't hijack my python environment. Anaconda/minconda will offer you the option to let it prepend itself to your path. I just say no here, because I have another python environment I choose to use for the time being by default.<br clear="none" class=""><br clear="none" class="">Kevin Havener<br clear="none" class=""><br clear="none" class=""><br clear="none" class="">-----Original Message-----<br clear="none" class="">From: JP Kalb [mailto:<a shape="rect" ymailto="mailto:jpkalb1990@yahoo.com" href="mailto:jpkalb1990@yahoo.com" class="">jpkalb1990@yahoo.com</a>] <br clear="none" class="">Sent: Tuesday, January 17, 2017 3:24 PM<br clear="none" class="">To: HAVENER, KEVIN F GS-12 USAF ACC 14 WS/WXED <<a shape="rect" ymailto="mailto:kevin.havener@us.af.mil" href="mailto:kevin.havener@us.af.mil" class="">kevin.havener@us.af.mil</a>>; Mary Haley <<a shape="rect" ymailto="mailto:haley@ucar.edu" href="mailto:haley@ucar.edu" class="">haley@ucar.edu</a>><br clear="none" class="">Cc: <a shape="rect" ymailto="mailto:ncl-install@ucar.edu" href="mailto:ncl-install@ucar.edu" class="">ncl-install@ucar.edu</a><br clear="none" class="">Subject: Re: [ncl-install] NCL Ubuntu<br clear="none" class=""><br clear="none" class="">Hi all, <br clear="none" class="">I think you might have misunderstood me since the export NCARG_ROOT did nothing at all to fix the problem and I had tried removing and re-installing but every time I do it still is giving me the 6.1.2.<br clear="none" class=""> <br clear="none" class="">JP Kalb<br clear="none" class=""><br clear="none" class=""><br clear="none" class="">On Tuesday, January 17, 2017 5:48 AM, "HAVENER, KEVIN F GS-12 USAF ACC 14 WS/WXED" <<a shape="rect" ymailto="mailto:kevin.havener@us.af.mil" href="mailto:kevin.havener@us.af.mil" class="">kevin.havener@us.af.mil</a>> wrote:<br clear="none" class=""><br clear="none" class=""><br clear="none" class=""><br clear="none" class="">I just installed the Ubuntu ncl-ncarg package on my Ubuntu laptop to see what would happen. Surprisingly, this turned out to be a recent-ish6.3 install (on 16.10, yakkety). It set no NCL related variables that I could find, but it did lead me to the more obvious "where in your path list does ncl show up?" You would want the location of your 6.3 to be listed before the location of 6.1.2. Ubuntu installed it in /usr/bin, so if you installed your 6.3.0 in /opt or /usr/local/bin, make sure that path comes before /usr/bin in your path list.<br clear="none" class=""><br clear="none" class="">The Ubuntu install did not affect either my conda-installed ncl_stable or ncl_test that I noticed.<br clear="none" class=""><br clear="none" class="">Kevin Havener<br clear="none" class=""><br clear="none" class=""><br clear="none" class="">-----Original Message-----<br clear="none" class="">From: <a shape="rect" ymailto="mailto:ncl-install-bounces@ucar.edu" href="mailto:ncl-install-bounces@ucar.edu" class="">ncl-install-bounces@ucar.edu</a> <mailto:<a shape="rect" ymailto="mailto:ncl-install-bounces@ucar.edu" href="mailto:ncl-install-bounces@ucar.edu" class="">ncl-install-bounces@ucar.edu</a>> [mailto:<a shape="rect" ymailto="mailto:ncl-install-bounces@ucar.edu" href="mailto:ncl-install-bounces@ucar.edu" class="">ncl-install-bounces@ucar.edu</a> <mailto:<a shape="rect" ymailto="mailto:ncl-install-bounces@ucar.edu" href="mailto:ncl-install-bounces@ucar.edu" class="">ncl-install-bounces@ucar.edu</a>> ] On Behalf Of HAVENER, KEVIN F GS-12 USAF ACC 14 WS/WXED<br clear="none" class="">Sent: Tuesday, January 17, 2017 8:01 AM<br clear="none" class="">To: JP Kalb <<a shape="rect" ymailto="mailto:jpkalb1990@yahoo.com" href="mailto:jpkalb1990@yahoo.com" class="">jpkalb1990@yahoo.com</a> <mailto:<a shape="rect" ymailto="mailto:jpkalb1990@yahoo.com" href="mailto:jpkalb1990@yahoo.com" class="">jpkalb1990@yahoo.com</a>> >; Mary Haley <<a shape="rect" ymailto="mailto:haley@ucar.edu" href="mailto:haley@ucar.edu" class="">haley@ucar.edu</a> <mailto:<a shape="rect" ymailto="mailto:haley@ucar.edu" href="mailto:haley@ucar.edu" class="">haley@ucar.edu</a>> ><br clear="none" class="">Cc: <a shape="rect" ymailto="mailto:ncl-install@ucar.edu" href="mailto:ncl-install@ucar.edu" class="">ncl-install@ucar.edu</a> <mailto:<a shape="rect" ymailto="mailto:ncl-install@ucar.edu" href="mailto:ncl-install@ucar.edu" class="">ncl-install@ucar.edu</a>> <br clear="none" class="">Subject: Re: [ncl-install] NCL Ubuntu<br clear="none" class=""><br clear="none" class="">If you don't need 6.1.2, then I'd suggest 'sudo apt-get remove ncl" it. If you really need both versions then you need to de-conflict the two installations. If you use the commands that Mary gave you, you will see that your Ubuntu is trying to use the 6.1.2 version. I have successfully used the Ubuntu installed version and a newer version in the past but I forget the mojo. It does matter where and when you set your NCARG_ROOT. One possible error: assuming bash, you set it in your .bash_profile, not your .bashrc. In this situation your login shell knows NCARG_ROOT, but no other terminal you open will. So either don't set it in .bash_profile or have bash_profile source .bashrc as the last act in your .bash_profile.<br clear="none" class=""><br clear="none" class="">I think also if you do the 'env' command below, I think you will find that the Ubuntu package sets some other environment variables that are similar to, but different than 'NCARG_ROOT'. You will need to figure out how to unset those. Easiest way is to remove 6.1.2, which I highly recommend.<br clear="none" class=""><br clear="none" class="">Kevin Havener<br clear="none" class=""><br clear="none" class="">-----Original Message-----<br clear="none" class="">From: <a shape="rect" ymailto="mailto:ncl-install-bounces@ucar.edu" href="mailto:ncl-install-bounces@ucar.edu" class="">ncl-install-bounces@ucar.edu</a> <mailto:<a shape="rect" ymailto="mailto:ncl-install-bounces@ucar.edu" href="mailto:ncl-install-bounces@ucar.edu" class="">ncl-install-bounces@ucar.edu</a>> [mailto:<a shape="rect" ymailto="mailto:ncl-install-bounces@ucar.edu" href="mailto:ncl-install-bounces@ucar.edu" class="">ncl-install-bounces@ucar.edu</a> <mailto:<a shape="rect" ymailto="mailto:ncl-install-bounces@ucar.edu" href="mailto:ncl-install-bounces@ucar.edu" class="">ncl-install-bounces@ucar.edu</a>> ] On Behalf Of JP Kalb<br clear="none" class="">Sent: Tuesday, January 17, 2017 12:50 AM<br clear="none" class="">To: Mary Haley <<a shape="rect" ymailto="mailto:haley@ucar.edu" href="mailto:haley@ucar.edu" class="">haley@ucar.edu</a> <mailto:<a shape="rect" ymailto="mailto:haley@ucar.edu" href="mailto:haley@ucar.edu" class="">haley@ucar.edu</a>> ><br clear="none" class="">Cc: <a shape="rect" ymailto="mailto:ncl-install@ucar.edu" href="mailto:ncl-install@ucar.edu" class="">ncl-install@ucar.edu</a> <mailto:<a shape="rect" ymailto="mailto:ncl-install@ucar.edu" href="mailto:ncl-install@ucar.edu" class="">ncl-install@ucar.edu</a>> <br clear="none" class="">Subject: Re: [ncl-install] NCL Ubuntu<br clear="none" class=""><br clear="none" class="">Hi Mary,<br clear="none" class="">I set my <br clear="none" class="">NCARG_ROOT=/usr/local/lib/NCL6.3/<br clear="none" class="">but my ncl is at /usr/bin/ncl and version 6.1.2<br clear="none" class=""><br clear="none" class="">JP Kalb<br clear="none" class=""><br clear="none" class=""><br clear="none" class="">On Monday, January 16, 2017 9:47 PM, Mary Haley <<a shape="rect" ymailto="mailto:haley@ucar.edu" href="mailto:haley@ucar.edu" class="">haley@ucar.edu</a> <mailto:<a shape="rect" ymailto="mailto:haley@ucar.edu" href="mailto:haley@ucar.edu" class="">haley@ucar.edu</a>> > wrote:<br clear="none" class=""><br clear="none" class=""><br clear="none" class=""><br clear="none" class="">JP,<br clear="none" class=""><br clear="none" class="">How exactly and where are you setting NCARG_ROOT?<br clear="none" class=""><br clear="none" class="">If you type the following at the UNIX prompt from a Terminal window, what does it report?<br clear="none" class=""><br clear="none" class="">env | grep NCARG<br clear="none" class="">which ncl<br clear="none" class="">ncl -V<br clear="none" class=""><br clear="none" class="">If you are setting anything other than NCARG_ROOT, then uncomment these from whatever .* file in your home directory is setting them.<br clear="none" class=""><br clear="none" class="">--Mary<br clear="none" class=""><br clear="none" class=""><br clear="none" class="">On Mon, Jan 16, 2017 at 7:30 PM, JP Kalb <<a shape="rect" ymailto="mailto:jpkalb1990@yahoo.com" href="mailto:jpkalb1990@yahoo.com" class="">jpkalb1990@yahoo.com</a> <mailto:<a shape="rect" ymailto="mailto:jpkalb1990@yahoo.com" href="mailto:jpkalb1990@yahoo.com" class="">jpkalb1990@yahoo.com</a>> <mailto:<a shape="rect" ymailto="mailto:jpkalb1990@yahoo.com" href="mailto:jpkalb1990@yahoo.com" class="">jpkalb1990@yahoo.com</a> <mailto:<a shape="rect" ymailto="mailto:jpkalb1990@yahoo.com" href="mailto:jpkalb1990@yahoo.com" class="">jpkalb1990@yahoo.com</a>> > > wrote:<div class="yqt9901831184" id="yqtfd56210"><br clear="none" class=""><br clear="none" class=""><br clear="none" class=""><br clear="none" class=""> Hi there,<br clear="none" class=""> I am having trouble setting my NCL on my Ubuntu WSL. I keep trying export NCARG_ROOT= wherever my NCL6.3 is but it keeps thinking the NCARG_ROOT is the ncl that I sudo apt-get installed. How can I fix this?<br clear="none" class=""> <br clear="none" class=""> <br clear="none" class=""> Thanks,<br clear="none" class=""> <br clear="none" class=""> <br clear="none" class=""> JP Kalb<br clear="none" class=""><br clear="none" class=""><br clear="none" class=""><br clear="none" class=""> ______________________________ _________________<br clear="none" class=""> ncl-install mailing list<br clear="none" class=""> List instructions, subscriber options, unsubscribe:<br clear="none" class=""> <a shape="rect" href="http://mailman.ucar.edu/" target="_blank" class="">http://mailman.ucar.edu/ </a><<a shape="rect" href="http://mailman.ucar.edu/" target="_blank" class="">http://mailman.ucar.edu/</a>> mailman/listinfo/ncl-install <<a shape="rect" href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank" class="">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a>> <br clear="none" class=""><br clear="none" class=""> <br clear="none" class=""> <br clear="none" class=""><br clear="none" class=""><br clear="none" class=""><br clear="none" class=""><br clear="none" class="">_______________________________________________<br clear="none" class="">ncl-install mailing list<br clear="none" class="">List instructions, subscriber options, unsubscribe:<br clear="none" class=""><a shape="rect" href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank" class="">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br clear="none" class=""><br clear="none" class=""><br clear="none" class=""></div><br class=""><br class=""></div> </div> </div> </div></div></div>_______________________________________________<br class="">ncl-install mailing list<br class="">List instructions, subscriber options, unsubscribe:<br class=""><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" class="">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br class=""></div></blockquote></div><br class=""></div></body></html>