<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div dir="ltr" id="yui_3_16_0_ym19_1_1484633723253_45926"><span id="yui_3_16_0_ym19_1_1484633723253_45925">I have downloaded and installed Miniconda but I am unsure what you mean by activate it. The last part of my .bashrc now says&nbsp;</span></div><div dir="ltr" id="yui_3_16_0_ym19_1_1484633723253_47617"># added by Miniconda2 4.2.12 installer</div><div dir="ltr" id="yui_3_16_0_ym19_1_1484633723253_47618">export Conda="/home/jp2nyy/miniconda2/bin:$PATH"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1484633723253_47619"><br id="yui_3_16_0_ym19_1_1484633723253_47620"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1484633723253_47621">export NCARG_ROOT="/usr/local/lib/NCL6.3:$PATH"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1484633723253_47622"><br id="yui_3_16_0_ym19_1_1484633723253_47623"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1484633723253_47624"># added by Miniconda3 4.2.12 installer</div><div dir="ltr" id="yui_3_16_0_ym19_1_1484633723253_45926"></div><div dir="ltr" id="yui_3_16_0_ym19_1_1484633723253_47625">export PATH="/home/jp2nyy/miniconda3/bin:$PATH"</div><div dir="ltr" id="yui_3_16_0_ym19_1_1484633723253_47625">Also what do you mean by source activate ncl.</div><div></div><div id="yui_3_16_0_ym19_1_1484633723253_45927">&nbsp;</div><div class="signature" id="yui_3_16_0_ym19_1_1484633723253_45928">JP Kalb</div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Tuesday, January 17, 2017 12:52 PM, "HAVENER, KEVIN F GS-12 USAF ACC 14 WS/WXED" &lt;kevin.havener@us.af.mil&gt; wrote:<br></font></div>  <br><br> <div class="y_msg_container">But did you 'sudo apt-get remove ncl-ncarg'?&nbsp; That should rid you of your 6.1.2 install.&nbsp; Then install by your method of choice.&nbsp; 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.&nbsp; 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.&nbsp; I do this on a per terminal basis using an alias, then source activate the ncl environment.&nbsp; That way, miniconda python doesn't hijack my python environment.&nbsp; Anaconda/minconda will offer you the option to let it prepend itself to your path.&nbsp; I just say no here, because I have another python environment I choose to use for the time being by default.<br clear="none"><br clear="none">Kevin Havener<br clear="none"><br clear="none"><br clear="none">-----Original Message-----<br clear="none">From: JP Kalb [mailto:<a shape="rect" ymailto="mailto:jpkalb1990@yahoo.com" href="mailto:jpkalb1990@yahoo.com">jpkalb1990@yahoo.com</a>] <br clear="none">Sent: Tuesday, January 17, 2017 3:24 PM<br clear="none">To: HAVENER, KEVIN F GS-12 USAF ACC 14 WS/WXED &lt;<a shape="rect" ymailto="mailto:kevin.havener@us.af.mil" href="mailto:kevin.havener@us.af.mil">kevin.havener@us.af.mil</a>&gt;; Mary Haley &lt;<a shape="rect" ymailto="mailto:haley@ucar.edu" href="mailto:haley@ucar.edu">haley@ucar.edu</a>&gt;<br clear="none">Cc: <a shape="rect" ymailto="mailto:ncl-install@ucar.edu" href="mailto:ncl-install@ucar.edu">ncl-install@ucar.edu</a><br clear="none">Subject: Re: [ncl-install] NCL Ubuntu<br clear="none"><br clear="none">Hi all, <br clear="none">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"> <br clear="none">JP Kalb<br clear="none"><br clear="none"><br clear="none">On Tuesday, January 17, 2017 5:48 AM, "HAVENER, KEVIN F GS-12 USAF ACC 14 WS/WXED" &lt;<a shape="rect" ymailto="mailto:kevin.havener@us.af.mil" href="mailto:kevin.havener@us.af.mil">kevin.havener@us.af.mil</a>&gt; wrote:<br clear="none"><br clear="none"><br clear="none"><br clear="none">I just installed the Ubuntu ncl-ncarg package on my Ubuntu laptop to see what would happen.&nbsp; Surprisingly, this turned out to be a recent-ish6.3 install (on 16.10, yakkety).&nbsp; 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?"&nbsp; You would want the location of your 6.3 to be listed before the location of 6.1.2.&nbsp; 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"><br clear="none">The Ubuntu install did not affect either my conda-installed ncl_stable or ncl_test that I noticed.<br clear="none"><br clear="none">Kevin Havener<br clear="none"><br clear="none"><br clear="none">-----Original Message-----<br clear="none">From: <a shape="rect" ymailto="mailto:ncl-install-bounces@ucar.edu" href="mailto:ncl-install-bounces@ucar.edu">ncl-install-bounces@ucar.edu</a> &lt;mailto:<a shape="rect" ymailto="mailto:ncl-install-bounces@ucar.edu" href="mailto:ncl-install-bounces@ucar.edu">ncl-install-bounces@ucar.edu</a>&gt;&nbsp; [mailto:<a shape="rect" ymailto="mailto:ncl-install-bounces@ucar.edu" href="mailto:ncl-install-bounces@ucar.edu">ncl-install-bounces@ucar.edu</a> &lt;mailto:<a shape="rect" ymailto="mailto:ncl-install-bounces@ucar.edu" href="mailto:ncl-install-bounces@ucar.edu">ncl-install-bounces@ucar.edu</a>&gt; ] On Behalf Of HAVENER, KEVIN F GS-12 USAF ACC 14 WS/WXED<br clear="none">Sent: Tuesday, January 17, 2017 8:01 AM<br clear="none">To: JP Kalb &lt;<a shape="rect" ymailto="mailto:jpkalb1990@yahoo.com" href="mailto:jpkalb1990@yahoo.com">jpkalb1990@yahoo.com</a> &lt;mailto:<a shape="rect" ymailto="mailto:jpkalb1990@yahoo.com" href="mailto:jpkalb1990@yahoo.com">jpkalb1990@yahoo.com</a>&gt; &gt;; Mary Haley &lt;<a shape="rect" ymailto="mailto:haley@ucar.edu" href="mailto:haley@ucar.edu">haley@ucar.edu</a> &lt;mailto:<a shape="rect" ymailto="mailto:haley@ucar.edu" href="mailto:haley@ucar.edu">haley@ucar.edu</a>&gt; &gt;<br clear="none">Cc: <a shape="rect" ymailto="mailto:ncl-install@ucar.edu" href="mailto:ncl-install@ucar.edu">ncl-install@ucar.edu</a> &lt;mailto:<a shape="rect" ymailto="mailto:ncl-install@ucar.edu" href="mailto:ncl-install@ucar.edu">ncl-install@ucar.edu</a>&gt; <br clear="none">Subject: Re: [ncl-install] NCL Ubuntu<br clear="none"><br clear="none">If you don't need 6.1.2, then I'd suggest 'sudo apt-get remove ncl" it.&nbsp; If you really need both versions then you need to de-conflict the two installations.&nbsp; If you use the commands that Mary gave you, you will see that your Ubuntu is trying to use the 6.1.2 version.&nbsp; I have successfully used the Ubuntu installed version and a newer version in the past but I forget the mojo.&nbsp; &nbsp; It does matter where and when you set your NCARG_ROOT.&nbsp; One possible error:&nbsp; assuming bash, you set it in your .bash_profile, not your .bashrc.&nbsp; In this situation your login shell knows NCARG_ROOT, but no other terminal you open will.&nbsp; 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"><br clear="none">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'.&nbsp; You will need to figure out how to unset those.&nbsp; Easiest way is to remove 6.1.2, which I highly recommend.<br clear="none"><br clear="none">Kevin Havener<br clear="none"><br clear="none">-----Original Message-----<br clear="none">From: <a shape="rect" ymailto="mailto:ncl-install-bounces@ucar.edu" href="mailto:ncl-install-bounces@ucar.edu">ncl-install-bounces@ucar.edu</a> &lt;mailto:<a shape="rect" ymailto="mailto:ncl-install-bounces@ucar.edu" href="mailto:ncl-install-bounces@ucar.edu">ncl-install-bounces@ucar.edu</a>&gt;&nbsp; [mailto:<a shape="rect" ymailto="mailto:ncl-install-bounces@ucar.edu" href="mailto:ncl-install-bounces@ucar.edu">ncl-install-bounces@ucar.edu</a> &lt;mailto:<a shape="rect" ymailto="mailto:ncl-install-bounces@ucar.edu" href="mailto:ncl-install-bounces@ucar.edu">ncl-install-bounces@ucar.edu</a>&gt; ] On Behalf Of JP Kalb<br clear="none">Sent: Tuesday, January 17, 2017 12:50 AM<br clear="none">To: Mary Haley &lt;<a shape="rect" ymailto="mailto:haley@ucar.edu" href="mailto:haley@ucar.edu">haley@ucar.edu</a> &lt;mailto:<a shape="rect" ymailto="mailto:haley@ucar.edu" href="mailto:haley@ucar.edu">haley@ucar.edu</a>&gt; &gt;<br clear="none">Cc: <a shape="rect" ymailto="mailto:ncl-install@ucar.edu" href="mailto:ncl-install@ucar.edu">ncl-install@ucar.edu</a> &lt;mailto:<a shape="rect" ymailto="mailto:ncl-install@ucar.edu" href="mailto:ncl-install@ucar.edu">ncl-install@ucar.edu</a>&gt; <br clear="none">Subject: Re: [ncl-install] NCL Ubuntu<br clear="none"><br clear="none">Hi Mary,<br clear="none">I set my <br clear="none">NCARG_ROOT=/usr/local/lib/NCL6.3/<br clear="none">but my ncl is at /usr/bin/ncl and version 6.1.2<br clear="none"><br clear="none">JP Kalb<br clear="none"><br clear="none"><br clear="none">On Monday, January 16, 2017 9:47 PM, Mary Haley &lt;<a shape="rect" ymailto="mailto:haley@ucar.edu" href="mailto:haley@ucar.edu">haley@ucar.edu</a> &lt;mailto:<a shape="rect" ymailto="mailto:haley@ucar.edu" href="mailto:haley@ucar.edu">haley@ucar.edu</a>&gt; &gt; wrote:<br clear="none"><br clear="none"><br clear="none"><br clear="none">JP,<br clear="none"><br clear="none">How exactly and where are you setting NCARG_ROOT?<br clear="none"><br clear="none">If you type the following at the UNIX prompt from a Terminal window, what does it report?<br clear="none"><br clear="none">env | grep NCARG<br clear="none">which&nbsp; ncl<br clear="none">ncl -V<br clear="none"><br clear="none">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"><br clear="none">--Mary<br clear="none"><br clear="none"><br clear="none">On Mon, Jan 16, 2017 at 7:30 PM, JP Kalb &lt;<a shape="rect" ymailto="mailto:jpkalb1990@yahoo.com" href="mailto:jpkalb1990@yahoo.com">jpkalb1990@yahoo.com</a> &lt;mailto:<a shape="rect" ymailto="mailto:jpkalb1990@yahoo.com" href="mailto:jpkalb1990@yahoo.com">jpkalb1990@yahoo.com</a>&gt;&nbsp; &lt;mailto:<a shape="rect" ymailto="mailto:jpkalb1990@yahoo.com" href="mailto:jpkalb1990@yahoo.com">jpkalb1990@yahoo.com</a> &lt;mailto:<a shape="rect" ymailto="mailto:jpkalb1990@yahoo.com" href="mailto:jpkalb1990@yahoo.com">jpkalb1990@yahoo.com</a>&gt; &gt; &gt; wrote:<div class="yqt9901831184" id="yqtfd56210"><br clear="none"><br clear="none"><br clear="none"><br clear="none">&nbsp; &nbsp; Hi there,<br clear="none">&nbsp; &nbsp; 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">&nbsp; &nbsp; <br clear="none">&nbsp; &nbsp; <br clear="none">&nbsp; &nbsp; Thanks,<br clear="none">&nbsp; &nbsp; <br clear="none">&nbsp; &nbsp; <br clear="none">&nbsp; &nbsp; JP Kalb<br clear="none"><br clear="none"><br clear="none"><br clear="none">&nbsp; &nbsp; ______________________________ _________________<br clear="none">&nbsp; &nbsp; ncl-install mailing list<br clear="none">&nbsp; &nbsp; List instructions, subscriber options, unsubscribe:<br clear="none">&nbsp; &nbsp; <a shape="rect" href="http://mailman.ucar.edu/" target="_blank">http://mailman.ucar.edu/ </a>&lt;<a shape="rect" href="http://mailman.ucar.edu/" target="_blank">http://mailman.ucar.edu/</a>&gt; mailman/listinfo/ncl-install &lt;<a shape="rect" href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a>&gt; <br clear="none"><br clear="none">&nbsp; &nbsp; <br clear="none">&nbsp; &nbsp; <br clear="none"><br clear="none"><br clear="none"><br clear="none"><br clear="none">_______________________________________________<br clear="none">ncl-install mailing list<br clear="none">List instructions, subscriber options, unsubscribe:<br clear="none"><a shape="rect" href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br clear="none"><br clear="none"><br clear="none"></div><br><br></div>  </div> </div>  </div></div></body></html>