<div dir="ltr">Hi Xingang,<div><br></div><div>I just tested this with anaconda using the following command, and everything is working (including spyder).  I would begin by deleting your anaconda2 folder, then reinstall anaconda2, just to make sure something isn&#39;t accidentally cached.  </div><div><br></div><div>







<p class="gmail-p1"><span class="gmail-s1">conda create -n test -c conda-forge pynio pyngl netcdf4 basemap spyder</span></p><p class="gmail-p1"><span class="gmail-s1">source activate test</span></p><p class="gmail-p1"><span class="gmail-s1">You should be able import everything.  Also, for your activated environment, you should be able to run the &#39;spyder&#39; command and the IDE should start up.</span></p><p class="gmail-p1"><span class="gmail-s1">Good luck,</span></p><p class="gmail-p1"><span class="gmail-s1">Bill</span></p><p class="gmail-p1"><span class="gmail-s1"><br></span></p><p class="gmail-p1"><span class="gmail-s1"><br></span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 14, 2016 at 4:11 PM, Fan, Xingang <span dir="ltr">&lt;<a href="mailto:xingang.fan@wku.edu" target="_blank">xingang.fan@wku.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>Hi, Kevin:</div>
<div><br>
</div>
<div>I am sorry for bothering you so many times. But I still have difficulty get the system to work. I have tried the following and each had its own problems:</div>
<div><br>
</div>
<div>(I) At Conda root, I ran:</div>
<div>    conda create -n metuse -c conda-forge pynio pyngl</div>
<div>    source activate met use</div>
<div><br>
</div>
<div>    conda list | wc –l         showed  57  packages including python</div>
<div>    Which python               showed ~/anaconda2/envs/metuse/bin/<wbr>python</div>
<div>    Which spyder                showed ~/anaconda2/bin/spyder</div>
<div><br>
</div>
<div>    At command line, run python, and then the &quot;import Nio&quot; showed the following:</div>
<div><span class="">
<div>&gt;&gt;&gt; import Nio</div>
<div>Traceback (most recent call last):</div>
<div>  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;</div>
</span><div>  File &quot;/Users/xng02546/anaconda2/<wbr>envs/metuse/lib/python2.7/<wbr>site-packages/PyNIO/Nio.py&quot;, line 83, in &lt;module&gt;</div>
<div>    from nio import *</div>
<div>ImportError: dlopen(/Users/xng02546/<wbr>anaconda2/envs/metuse/lib/<wbr>python2.7/site-packages/PyNIO/<wbr>nio.so, 2): Symbol not found: ___sincos_stret</div>
<div>  Referenced from: /Users/xng02546/anaconda2/<wbr>envs/metuse/lib/libgdal.20.<wbr>dylib</div>
<div>  Expected in: /usr/lib/libSystem.B.dylib</div>
<div> in /Users/xng02546/anaconda2/<wbr>envs/metuse/lib/libgdal.20.<wbr>dylib</div>
<div>&gt;&gt;&gt; </div>
</div>
<div><br>
</div>
<div>(II) From root, I created a new environment condaX by:</div>
<div>     Conda create –n condaX python=2.7 anaconda</div>
<div>     Source activate condaX</div>
<div>     Conda install netcdf4</div>
<div>     Conda install basemap</div>
<div>     Conda update --all</div>
<div> </div>
<div>     Under condaX environment, I have tested both matplotlib and basemap, both worked fine and generated output figures. </div>
<div><br>
</div>
<div>(III) Based on the working condoX environment, I tried to clone it, then wanted to install pyNGL etc., </div>
<div>     The cloned environment has same results from conda list, </div>
<div>     Running python, it imports matplotlib and basemap okay,</div>
<div>     But, somehow, spyder won&#39;t start, it shows the following message:</div>
<div><br>
</div>
<div>
<div>(metuse) FXG-MacBook:~ xng02546$ spyder &amp;</div>
<div>[1] 43659</div>
<div>(metuse) FXG-MacBook:~ xng02546$ ERROR:root:code for hash md5 was not found.</div><span class="">
<div>Traceback (most recent call last):</div>
</span><div>  File &quot;/Users/xng02546/anaconda2/<wbr>envs/metuse/lib/python2.7/<wbr>hashlib.py&quot;, line 147, in &lt;module&gt;</div>
<div>    globals()[__func_name] = __get_hash(__func_name)</div>
<div>  File &quot;/Users/xng02546/anaconda2/<wbr>envs/metuse/lib/python2.7/<wbr>hashlib.py&quot;, line 97, in __get_builtin_constructor</div>
<div>    raise ValueError(&#39;unsupported hash type &#39; + name)</div>
<div>ValueError: unsupported hash type md5</div>
<div>ERROR:root:code for hash sha1 was not found.</div><span class="">
<div>Traceback (most recent call last):</div>
</span><div>  File &quot;/Users/xng02546/anaconda2/<wbr>envs/metuse/lib/python2.7/<wbr>hashlib.py&quot;, line 147, in &lt;module&gt;</div>
<div>    globals()[__func_name] = __get_hash(__func_name)</div>
<div>  File &quot;/Users/xng02546/anaconda2/<wbr>envs/metuse/lib/python2.7/<wbr>hashlib.py&quot;, line 97, in __get_builtin_constructor</div>
<div>    raise ValueError(&#39;unsupported hash type &#39; + name)</div>
<div>ValueError: unsupported hash type sha1</div>
<div>ERROR:root:code for hash sha224 was not found.</div><span class="">
<div>Traceback (most recent call last):</div>
</span><div>  File &quot;/Users/xng02546/anaconda2/<wbr>envs/metuse/lib/python2.7/<wbr>hashlib.py&quot;, line 147, in &lt;module&gt;</div>
<div>    globals()[__func_name] = __get_hash(__func_name)</div>
<div>  File &quot;/Users/xng02546/anaconda2/<wbr>envs/metuse/lib/python2.7/<wbr>hashlib.py&quot;, line 97, in __get_builtin_constructor</div>
<div>    raise ValueError(&#39;unsupported hash type &#39; + name)</div>
<div>ValueError: unsupported hash type sha224</div>
<div>ERROR:root:code for hash sha256 was not found.</div><span class="">
<div>Traceback (most recent call last):</div>
</span><div>  File &quot;/Users/xng02546/anaconda2/<wbr>envs/metuse/lib/python2.7/<wbr>hashlib.py&quot;, line 147, in &lt;module&gt;</div>
<div>    globals()[__func_name] = __get_hash(__func_name)</div>
<div>  File &quot;/Users/xng02546/anaconda2/<wbr>envs/metuse/lib/python2.7/<wbr>hashlib.py&quot;, line 97, in __get_builtin_constructor</div>
<div>    raise ValueError(&#39;unsupported hash type &#39; + name)</div>
<div>ValueError: unsupported hash type sha256</div>
<div>ERROR:root:code for hash sha384 was not found.</div><span class="">
<div>Traceback (most recent call last):</div>
</span><div>  File &quot;/Users/xng02546/anaconda2/<wbr>envs/metuse/lib/python2.7/<wbr>hashlib.py&quot;, line 147, in &lt;module&gt;</div>
<div>    globals()[__func_name] = __get_hash(__func_name)</div>
<div>  File &quot;/Users/xng02546/anaconda2/<wbr>envs/metuse/lib/python2.7/<wbr>hashlib.py&quot;, line 97, in __get_builtin_constructor</div>
<div>    raise ValueError(&#39;unsupported hash type &#39; + name)</div>
<div>ValueError: unsupported hash type sha384</div>
<div>ERROR:root:code for hash sha512 was not found.</div><span class="">
<div>Traceback (most recent call last):</div>
</span><div>  File &quot;/Users/xng02546/anaconda2/<wbr>envs/metuse/lib/python2.7/<wbr>hashlib.py&quot;, line 147, in &lt;module&gt;</div>
<div>    globals()[__func_name] = __get_hash(__func_name)</div>
<div>  File &quot;/Users/xng02546/anaconda2/<wbr>envs/metuse/lib/python2.7/<wbr>hashlib.py&quot;, line 97, in __get_builtin_constructor</div>
<div>    raise ValueError(&#39;unsupported hash type &#39; + name)</div>
<div>ValueError: unsupported hash type sha512</div>
<div><br>
</div>
<div>(metuse) FXG-MacBook:~ xng02546$ Traceback (most recent call last):</div>
<div>  File &quot;/Users/xng02546/anaconda2/<wbr>envs/metuse/lib/python2.7/<wbr>site-packages/spyder/app/<wbr>mainwindow.py&quot;, line 3001, in main</div>
<div>    mainwindow = run_spyder(app, options, args)</div>
<div>  File &quot;/Users/xng02546/anaconda2/<wbr>envs/metuse/lib/python2.7/<wbr>site-packages/spyder/app/<wbr>mainwindow.py&quot;, line 2905, in run_spyder</div>
<div>    main.setup()</div>
<div>  File &quot;/Users/xng02546/anaconda2/<wbr>envs/metuse/lib/python2.7/<wbr>site-packages/spyder/app/<wbr>mainwindow.py&quot;, line 799, in setup</div>
<div>    from spyder.plugins.help import Help</div>
<div>  File &quot;/Users/xng02546/anaconda2/<wbr>envs/metuse/lib/python2.7/<wbr>site-packages/spyder/plugins/<wbr>help.py&quot;, line 33, in &lt;module&gt;</div>
<div>    from spyder.utils.help.sphinxify import (CSS_PATH, generate_context,</div>
<div>  File &quot;/Users/xng02546/anaconda2/<wbr>envs/metuse/lib/python2.7/<wbr>site-packages/spyder/utils/<wbr>help/sphinxify.py&quot;, line 30, in &lt;module&gt;</div>
<div>    from jinja2 import Environment, FileSystemLoader</div>
<div>  File &quot;/Users/xng02546/anaconda2/<wbr>envs/metuse/lib/python2.7/<wbr>site-packages/jinja2/__init__.<wbr>py&quot;, line 36, in &lt;module&gt;</div>
<div>    from jinja2.loaders import BaseLoader, FileSystemLoader, PackageLoader, \</div>
<div>  File &quot;/Users/xng02546/anaconda2/<wbr>envs/metuse/lib/python2.7/<wbr>site-packages/jinja2/loaders.<wbr>py&quot;, line 16, in &lt;module&gt;</div>
<div>    from hashlib import sha1</div>
<div>ImportError: cannot import name sha1</div>
<div><br>
</div>
<div>[1]+  Done                    spyder</div>
</div>
<div><br>
</div>
<div>I am still stuck. I am not sure if the last problem above belongs to spyder or what.</div>
<div><br>
</div>
<div>The cloned one worked for spyder yesterday, but as I reported to you, there were difficulty importing PyNIO (Nio).</div>
<div><br>
</div>
<div>Thanks for any input on this.</div>
<div>Xingang</div>
<div><br>
</div>
<div><br>
</div>
<span id="m_5012855140466370866OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri;font-size:11pt;text-align:left;color:black;BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;PADDING-LEFT:0in;PADDING-RIGHT:0in;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt">
<span style="font-weight:bold">From: </span>Kevin Hallock &lt;<a href="mailto:hallock@ucar.edu" target="_blank">hallock@ucar.edu</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Tuesday, December 13, 2016 3:52 PM<div><div class="h5"><br>
<span style="font-weight:bold">To: </span>Xingang Fan &lt;<a href="mailto:xingang.fan@wku.edu" target="_blank">xingang.fan@wku.edu</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>&quot;<a href="mailto:pyngl-talk@ucar.edu" target="_blank">pyngl-talk@ucar.edu</a>&quot; &lt;<a href="mailto:pyngl-talk@ucar.edu" target="_blank">pyngl-talk@ucar.edu</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>Re: [pyngl-talk] Help with PyNIO installation<br>
</div></div></div><div><div class="h5">
<div><br>
</div>
<div>
<div style="word-wrap:break-word">
Hi Xingang,
<div><br>
</div>
<div>We have found that running PyNIO, PyNGL, and NCL under conda works best if you create an environment to install them in. Installing to the root environment can cause issues like what you’ve described below, especially when using Anaconda, as opposed
 to Miniconda.</div>
<div><br>
</div>
<div>Could you please try creating and activating an environment:</div>
<div><font face="Courier New">conda create --name &lt;env_name&gt; --channel conda-forge pynio pyngl</font></div>
<div><font face="Courier New">source activate &lt;env_name&gt;</font></div>
<div><br>
</div>
<div>Once the environment is activated, you can install any other packages you may need. I would strongly recommend using “--channel conda-forge” on your “conda install …” commands in order to maintain compatibility with Nio and Ngl.</div>
<div><br>
</div>
<div>Kevin</div>
<div><br>
<div>
<blockquote type="cite">
<div>On Dec 13, 2016, at 2:18 PM, Fan, Xingang &lt;<a href="mailto:xingang.fan@wku.edu" target="_blank">xingang.fan@wku.edu</a>&gt; wrote:</div>
<br class="m_5012855140466370866Apple-interchange-newline">
<div>
<div style="word-wrap:break-word;font-size:14px;font-family:Calibri,sans-serif">
<div>Hi, Kevin:</div>
<div><br>
</div>
<div>Thank you so much! That played the trick. Finally I got all three of them working along with basemap on an Ubuntu virtual machine without any warning messages. The order of installing different packages and the updating of packages seem important
 though.</div>
<div><br>
</div>
<div>Now, I am trying to get it to work on my Mac. All of them worked fine with my Mac installation of Anaconda. However, when I tried to use the same way to update NGL and NIO, the entire anaconda seemed messed up. I tried reinstall, still have the
 following messages when importing Nio, I don&#39;t know what to do:</div>
<div><br>
</div>
<div>
<div>(root) FXG-MacBook:site-packages xng02546$ python</div>
<div>Python 2.7.12 |Anaconda custom (x86_64)| (default, Jul  2 2016, 17:43:17) </div>
<div>[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)] on darwin</div>
<div>Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.</div>
<div>Anaconda is brought to you by Continuum Analytics.</div>
<div>Please check out: <a href="http://continuum.io/thanks" target="_blank">http://continuum.io/thanks</a> and
<a href="https://anaconda.org" target="_blank">https://anaconda.org</a></div>
<div>&gt;&gt;&gt; import Nio</div>
<div>Traceback (most recent call last):</div>
<div>  File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;</div>
<div>  File &quot;//anaconda/lib/python2.7/<wbr>site-packages/PyNIO/Nio.py&quot;, line 83, in &lt;module&gt;</div>
<div>    from nio import *</div>
<div>ImportError: dlopen(//anaconda/lib/python2.<wbr>7/site-packages/PyNIO/nio.so, 2): Library not loaded: @rpath/libicui18n.56.dylib</div>
<div>  Referenced from: //anaconda/lib/libgdal.20.<wbr>dylib</div>
<div>  Reason: no suitable image found.  Did find:</div>
<div><span class="m_5012855140466370866Apple-tab-span" style="white-space:pre-wrap"></span>/usr/local/lib/libicui18n.56.<wbr>dylib: stat() failed with errno=13</div>
</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Xingang</div>
<div><br>
</div>
<span id="m_5012855140466370866OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri;font-size:11pt;text-align:left;border-width:1pt medium medium;border-style:solid none none;padding:3pt 0in 0in;border-top-color:rgb(181,196,223)">
<span style="font-weight:bold">From: </span>Kevin Hallock &lt;<a href="mailto:hallock@ucar.edu" target="_blank">hallock@ucar.edu</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Monday, December 12, 2016 11:43 AM<br>
<span style="font-weight:bold">To: </span>Xingang Fan &lt;<a href="mailto:xingang.fan@wku.edu" target="_blank">xingang.fan@wku.edu</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>&quot;<a href="mailto:pyngl-talk@ucar.edu" target="_blank">pyngl-talk@ucar.edu</a>&quot; &lt;<a href="mailto:pyngl-talk@ucar.edu" target="_blank">pyngl-talk@ucar.edu</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>Re: [pyngl-talk] Help with PyNIO installation<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap:break-word">
Hi Xingang,
<div><br>
</div>
<div>Could you please try running “conda install -c conda-forge pyngl pynio” instead of “conda install -c ncar -c khallock pyngl pynio”?</div>
<div><br>
</div>
<div>Previously, using the channels “ncar” and “khallock” (with the flags “-c ncar” and “-c khallock”) was the only way to install PyNIO and PyNGL using conda, but we have since uploaded PyNIO, PyNGL, and NCL to the conda-forge channel. Conda-forge
 provides excellent compatibility between packages in order to avoid the dependency issues you experienced, so I would strongly recommend using “-c conda-forge” in your case.</div>
<div><br>
</div>
<div>Kevin</div>
<div><br>
<div>
<blockquote type="cite">
<div>On Dec 10, 2016, at 7:55 AM, Fan, Xingang &lt;<a href="mailto:xingang.fan@wku.edu" target="_blank">xingang.fan@wku.edu</a>&gt; wrote:</div>
<br class="m_5012855140466370866Apple-interchange-newline">
<div>
<div style="word-wrap:break-word;font-size:14px;font-family:Calibri,sans-serif">
<div>Hi, Kevin:</div>
<div><br>
</div>
<div>I am installing the packages in virtual machine that runs Ubuntu. I got it worked one time, but when I later found that I needed basemap. So, I reinstalled everything and nw got a question I don&#39;t understand. The following was what I did:</div>
<div><br>
</div>
<div>Install anaconda</div>
<div>Conda update --all</div>
<div>Created a new environment where:</div>
<div>     netcdf4 and basemap were installed</div>
<div>Cloned the above environment for adding NGL packages, where:</div>
<div>     pygrib was installed (conda install –c conda-forge pygrib</div>
<div>     Then, when I try to install: conda install –c ncar –c khallock pyngl pynio</div>
<div>           The following messages were given:</div>
<div><br>
</div>
<div>
<div>UnsatisfiableError: The following specifications were found to be in conflict:</div>
<div>  - h5py -&gt; hdf5 1.8.13|1.8.14|1.8.15.1|1.8.16|<wbr>1.8.9</div>
<div>  - h5py -&gt; numpy 1.11*|1.5*|1.6*|1.7*|1.8*</div>
<div>  - h5py -&gt; python 2.6*|3.3*|3.4*|3.5*</div>
<div>  - pynio</div>
<div>Use &quot;conda info &lt;package&gt;&quot; to see the dependencies for each package.</div>
</div>
<div><br>
</div>
<div>First, I don&#39;t understand who and who are in conflict. Second, how to get around?</div>
<div><br>
</div>
<div>I remember the time I got pygrib, Nio, Ngl imported without problem was when I didn&#39;t have basemap in the same new environment (just create a new environment for my use, not cloned one). But I hope I can have them all in the same place.</div>
<div><br>
</div>
<div>Your help is much appreciated!</div>
<div><br>
</div>
<div>Xingang</div>
<div><br>
</div>
<div>P.s. A full list of packages in my new environment is attached below:</div>
<div><br>
</div>
<div>
<div>(metlab) xfan@xfan-VirtualBox:~$ conda list</div>
<div># packages in environment at /home/xfan/anaconda2/envs/<wbr>metlab:</div>
<div>#</div>
<div>_license                  1.1                      py27_1  </div>
<div>_nb_ext_conf              0.3.0                    py27_0  </div>
<div>alabaster                 0.7.9                    py27_0  </div>
<div>anaconda                  custom                   py27_0  </div>
<div>anaconda-clean            1.0.2                    py27_0  </div>
<div>anaconda-client           1.6.0                    py27_0  </div>
<div>anaconda-navigator        1.3.2                    py27_0  </div>
<div>argcomplete               1.0.0                    py27_1  </div>
<div>astroid                   1.4.7                    py27_0  </div>
<div>astropy                   1.2.1               np111py27_0  </div>
<div>babel                     2.3.4                    py27_0  </div>
<div>backports                 1.0                      py27_0  </div>
<div>backports_abc             0.5                      py27_0  </div>
<div>basemap                   1.0.7               np111py27_0  </div>
<div>beautifulsoup4            4.5.1                    py27_0  </div>
<div>bitarray                  0.8.1                    py27_0  </div>
<div>blaze                     0.10.1                   py27_0  </div>
<div>bokeh                     0.12.3                   py27_0  </div>
<div>boto                      2.43.0                   py27_0  </div>
<div>bottleneck                1.1.0               np111py27_0  </div>
<div>cairo                     1.12.18                       6  </div>
<div>cdecimal                  2.3                      py27_2  </div>
<div>cffi                      1.9.1                    py27_0  </div>
<div>chest                     0.2.3                    py27_0  </div>
<div>click                     6.6                      py27_0  </div>
<div>cloudpickle               0.2.1                    py27_0  </div>
<div>clyent                    1.2.2                    py27_0  </div>
<div>colorama                  0.3.7                    py27_0  </div>
<div>configobj                 5.0.6                    py27_0  </div>
<div>configparser              3.5.0                    py27_0  </div>
<div>contextlib2               0.5.4                    py27_0  </div>
<div>cryptography              1.6                      py27_0  </div>
<div>curl                      7.49.0                        1  </div>
<div>cycler                    0.10.0                   py27_0  </div>
<div>cython                    0.25.2                   py27_0  </div>
<div>cytoolz                   0.8.1                    py27_0  </div>
<div>dask                      0.12.0                   py27_0  </div>
<div>datashape                 0.5.2                    py27_0  </div>
<div>dbus                      1.10.10                       0  </div>
<div>decorator                 4.0.10                   py27_1  </div>
<div>dill                      0.2.5                    py27_0  </div>
<div>docutils                  0.12                     py27_2  </div>
<div>dynd-python               0.7.2                    py27_0  </div>
<div>ecmwf_grib                1.16.0                        1    conda-forge</div>
<div>entrypoints               0.2.2                    py27_0  </div>
<div>enum34                    1.1.6                    py27_0  </div>
<div>et_xmlfile                1.0.1                    py27_0  </div>
<div>expat                     2.1.0                         0  </div>
<div>fastcache                 1.0.2                    py27_1  </div>
<div>filelock                  2.0.7                    py27_0  </div>
<div>flask                     0.11.1                   py27_0  </div>
<div>flask-cors                2.1.2                    py27_0  </div>
<div>fontconfig                2.11.1                        6  </div>
<div>freetype                  2.5.5                         1  </div>
<div>funcsigs                  1.0.2                    py27_0  </div>
<div>functools32               3.2.3.2                  py27_0  </div>
<div>futures                   3.0.5                    py27_0  </div>
<div>geos                      3.4.2                         0  </div>
<div>get_terminal_size         1.0.0                    py27_0  </div>
<div>gevent                    1.1.2                    py27_0  </div>
<div>glib                      2.43.0                        1  </div>
<div>greenlet                  0.4.10                   py27_0  </div>
<div>grin                      1.2.1                    py27_3  </div>
<div>gst-plugins-base          1.8.0                         0  </div>
<div>gstreamer                 1.8.0                         0  </div>
<div>h5py                      2.6.0               np111py27_2  </div>
<div>harfbuzz                  0.9.39                        1  </div>
<div>hdf4                      4.2.12                        0  </div>
<div>hdf5                      1.8.17                        1  </div>
<div>heapdict                  1.0.0                    py27_1  </div>
<div>icu                       54.1                          0  </div>
<div>idna                      2.1                      py27_0  </div>
<div>imagesize                 0.7.1                    py27_0  </div>
<div>ipaddress                 1.0.17                   py27_0  </div>
<div>ipykernel                 4.5.2                    py27_0  </div>
<div>ipython                   5.1.0                    py27_0  </div>
<div>ipython_genutils          0.1.0                    py27_0  </div>
<div>ipywidgets                5.2.2                    py27_0  </div>
<div>itsdangerous              0.24                     py27_0  </div>
<div>jasper                    1.900.1                       1    conda-forge</div>
<div>jbig                      2.1                           0  </div>
<div>jdcal                     1.3                      py27_0  </div>
<div>jedi                      0.9.0                    py27_1  </div>
<div>jinja2                    2.8                      py27_1  </div>
<div>jpeg                      8d                            2  </div>
<div>jsonschema                2.5.1                    py27_0  </div>
<div>jupyter                   1.0.0                    py27_3  </div>
<div>jupyter_client            4.4.0                    py27_0  </div>
<div>jupyter_console           5.0.0                    py27_0  </div>
<div>jupyter_core              4.2.1                    py27_0  </div>
<div>lazy-object-proxy         1.2.1                    py27_0  </div>
<div>libdynd                   0.7.2                         0  </div>
<div>libffi                    3.2.1                         0  </div>
<div>libgcc                    5.2.0                         0  </div>
<div>libgfortran               3.0.0                         1  </div>
<div>libiconv                  1.14                          0  </div>
<div>libnetcdf                 4.4.1                         0  </div>
<div>libpng                    1.6.26                        0    conda-forge</div>
<div>libsodium                 1.0.10                        0  </div>
<div>libtiff                   4.0.6                         2  </div>
<div>libxcb                    1.12                          1  </div>
<div>libxml2                   2.9.4                         0  </div>
<div>libxslt                   1.1.28                        0  </div>
<div>llvmlite                  0.14.0                   py27_0  </div>
<div>locket                    0.2.0                    py27_1  </div>
<div>lxml                      3.6.4                    py27_0  </div>
<div>markupsafe                0.23                     py27_2  </div>
<div>matplotlib                1.5.3               np111py27_1  </div>
<div>mistune                   0.7.3                    py27_0  </div>
<div>mkl                       11.3.3                        0  </div>
<div>mkl-service               1.1.2                    py27_2  </div>
<div>mpmath                    0.19                     py27_1  </div>
<div>multipledispatch          0.4.9                    py27_0  </div>
<div>nb_anacondacloud          1.2.0                    py27_0  </div>
<div>nb_conda                  2.0.0                    py27_0  </div>
<div>nb_conda_kernels          2.0.0                    py27_0  </div>
<div>nbconvert                 4.2.0                    py27_0  </div>
<div>nbformat                  4.2.0                    py27_0  </div>
<div>nbpresent                 3.0.2                    py27_0  </div>
<div>netcdf4                   1.2.4               np111py27_0  </div>
<div>networkx                  1.11                     py27_0  </div>
<div>nltk                      3.2.1                    py27_0  </div>
<div>nose                      1.3.7                    py27_1  </div>
<div>notebook                  4.2.3                    py27_0  </div>
<div>numba                     0.29.0              np111py27_0  </div>
<div>numexpr                   2.6.1               np111py27_1  </div>
<div>numpy                     1.11.2                   py27_0  </div>
<div>odo                       0.5.0                    py27_1  </div>
<div>openpyxl                  2.4.0                    py27_0  </div>
<div>openssl                   1.0.2j                        0  </div>
<div>pandas                    0.19.1              np111py27_0  </div>
<div>partd                     0.3.6                    py27_0  </div>
<div>patchelf                  0.9                           0  </div>
<div>path.py                   8.2.1                    py27_0  </div>
<div>pathlib2                  2.1.0                    py27_0  </div>
<div>patsy                     0.4.1                    py27_0  </div>
<div>pep8                      1.7.0                    py27_0  </div>
<div>pexpect                   4.0.1                    py27_0  </div>
<div>pickleshare               0.7.4                    py27_0  </div>
<div>pillow                    3.4.2                    py27_0  </div>
<div>pip                       9.0.1                    py27_1  </div>
<div>pixman                    0.32.6                        0  </div>
<div>pkginfo                   1.4.1                    py27_0  </div>
<div>ply                       3.9                      py27_0  </div>
<div>prompt_toolkit            1.0.9                    py27_0  </div>
<div>psutil                    5.0.0                    py27_0  </div>
<div>ptyprocess                0.5.1                    py27_0  </div>
<div>py                        1.4.31                   py27_0  </div>
<div>pyasn1                    0.1.9                    py27_0  </div>
<div>pycairo                   1.10.0                   py27_0  </div>
<div>pycosat                   0.6.1                    py27_1  </div>
<div>pycparser                 2.17                     py27_0  </div>
<div>pycrypto                  2.6.1                    py27_4  </div>
<div>pycurl                    7.43.0                   py27_0  </div>
<div>pyflakes                  1.3.0                    py27_0  </div>
<div>pygments                  2.1.3                    py27_0  </div>
<div>pygrib                    2.0.2                    py27_0    conda-forge</div>
<div>pylint                    1.5.4                    py27_1  </div>
<div>pyopenssl                 16.2.0                   py27_0  </div>
<div>pyparsing                 2.1.4                    py27_0  </div>
<div>pyproj                    1.9.5.1                  py27_0    conda-forge</div>
<div>pyqt                      5.6.0                    py27_0  </div>
<div>pytables                  3.3.0               np111py27_0  </div>
<div>pytest                    3.0.5                    py27_0  </div>
<div>python                    2.7.12                        1  </div>
<div>python-dateutil           2.6.0                    py27_0  </div>
<div>pytz                      2016.10                  py27_0  </div>
<div>pyyaml                    3.12                     py27_0  </div>
<div>pyzmq                     16.0.2                   py27_0  </div>
<div>qt                        5.6.0                         1  </div>
<div>qtawesome                 0.3.3                    py27_0  </div>
<div>qtconsole                 4.2.1                    py27_1  </div>
<div>qtpy                      1.1.2                    py27_0  </div>
<div>readline                  6.2                           2  </div>
<div>redis                     3.2.0                         0  </div>
<div>redis-py                  2.10.5                   py27_0  </div>
<div>requests                  2.12.3                   py27_0  </div>
<div>rope                      0.9.4                    py27_1  </div>
<div>scikit-image              0.12.3              np111py27_1  </div>
<div>scikit-learn              0.18.1              np111py27_0  </div>
<div>scipy                     0.18.1              np111py27_0  </div>
<div>setuptools                27.2.0                   py27_0  </div>
<div>simplegeneric             0.8.1                    py27_1  </div>
<div>singledispatch            3.4.0.3                  py27_0  </div>
<div>sip                       4.18                     py27_0  </div>
<div>six                       1.10.0                   py27_0  </div>
<div>snowballstemmer           1.2.1                    py27_0  </div>
<div>sockjs-tornado            1.0.3                    py27_0  </div>
<div>sphinx                    1.5                      py27_0  </div>
<div>spyder                    3.0.2                    py27_0  </div>
<div>sqlalchemy                1.1.4                    py27_0  </div>
<div>sqlite                    3.13.0                        0  </div>
<div>ssl_match_hostname        3.4.0.2                  py27_1  </div>
<div>statsmodels               0.6.1               np111py27_1  </div>
<div>sympy                     1.0                      py27_0  </div>
<div>terminado                 0.6                      py27_0  </div>
<div>tk                        8.5.18                        0  </div>
<div>toolz                     0.8.1                    py27_0  </div>
<div>tornado                   4.4.2                    py27_0  </div>
<div>traitlets                 4.3.1                    py27_0  </div>
<div>unicodecsv                0.14.1                   py27_0  </div>
<div>wcwidth                   0.1.7                    py27_0  </div>
<div>werkzeug                  0.11.11                  py27_1  </div>
<div>wheel                     0.29.0                   py27_0  </div>
<div>widgetsnbextension        1.2.6                    py27_0  </div>
<div>wrapt                     1.10.8                   py27_0  </div>
<div>xlrd                      1.0.0                    py27_0  </div>
<div>xlsxwriter                0.9.4                    py27_0  </div>
<div>xlwt                      1.1.2                    py27_0  </div>
<div>xz                        5.2.2                         0  </div>
<div>yaml                      0.1.6                         0  </div>
<div>zeromq                    4.1.5                         0  </div>
<div>zlib                      1.2.8                         3</div>
</div>
<div><br>
</div>
<div><br>
</div>
<span id="m_5012855140466370866OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri;font-size:11pt;text-align:left;border-width:1pt medium medium;border-style:solid none none;padding:3pt 0in 0in;border-top-color:rgb(181,196,223)">
<span style="font-weight:bold">From: </span>Kevin Hallock &lt;<a href="mailto:hallock@ucar.edu" target="_blank">hallock@ucar.edu</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Wednesday, December 7, 2016 2:19 PM<br>
<span style="font-weight:bold">To: </span>Xingang Fan &lt;<a href="mailto:xingang.fan@wku.edu" target="_blank">xingang.fan@wku.edu</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>&quot;<a href="mailto:pyngl-talk@ucar.edu" target="_blank">pyngl-talk@ucar.edu</a>&quot; &lt;<a href="mailto:pyngl-talk@ucar.edu" target="_blank">pyngl-talk@ucar.edu</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>Re: [pyngl-talk] Help with PyNIO installation<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap:break-word">
Hi Xingang,
<div><br>
</div>
<div>You’re welcome!</div>
<div><br>
</div>
<div>While Anaconda can be installed on Windows, we only have Mac OS X and Linux 64-bit versions of PyNGL or PyNIO available on Anaconda. In your case, I think Linux virtual machines would probably be the best/simplest option.</div>
<div><br>
</div>
<div>Kevin</div>
<div><br>
</div>
<div>
<div>
<blockquote type="cite">
<div>On Dec 7, 2016, at 12:41 PM, Fan, Xingang &lt;<a href="mailto:xingang.fan@wku.edu" target="_blank">xingang.fan@wku.edu</a>&gt; wrote:</div>
<br class="m_5012855140466370866Apple-interchange-newline">
<div>
<div style="word-wrap:break-word;font-size:14px;font-family:Calibri,sans-serif">
<div>Hi, Kevin:</div>
<div><br>
</div>
<div>Thank you so much for getting back with me!</div>
<div><br>
</div>
<div>I am trying anaconda on my MacBook Pro.</div>
<div><br>
</div>
<div>One question: Can anaconda be installed on Windows system with the PyNGL and PyNIO, pygrib to work? Or it has to be on a virtual machine. Our lab have all windows machines. Thanks!</div>
<div><br>
</div>
<div>Xingang</div>
<div><br>
</div>
<span id="m_5012855140466370866OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri;font-size:11pt;text-align:left;border-width:1pt medium medium;border-style:solid none none;padding:3pt 0in 0in;border-top-color:rgb(181,196,223)">
<span style="font-weight:bold">From: </span>Kevin Hallock &lt;<a href="mailto:hallock@ucar.edu" target="_blank">hallock@ucar.edu</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Wednesday, December 7, 2016 1:37 PM<br>
<span style="font-weight:bold">To: </span>Xingang Fan &lt;<a href="mailto:xingang.fan@wku.edu" target="_blank">xingang.fan@wku.edu</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>&quot;<a href="mailto:pyngl-talk@ucar.edu" target="_blank">pyngl-talk@ucar.edu</a>&quot; &lt;<a href="mailto:pyngl-talk@ucar.edu" target="_blank">pyngl-talk@ucar.edu</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>Re: [pyngl-talk] Help with PyNIO installation<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap:break-word">
Hi,
<div><br>
</div>
<div>Is there any chance you could possibly use Anaconda/Miniconda on these virtual machines instead of Enthought Canopy? As far as I am aware, there is no easy way for us to create and distribute a version of our software that is built against Enthought
 Canopy’s libraries.</div>
<div><br>
</div>
<div>However, we do have up-to-date versions PyNGL and PyNIO (and NCL) available on the &quot;conda-forge” Anaconda channel, which also hosts many other commonly used scientific packages (including pygrib!). Unfortunately, Anaconda and Enthought Canopy
 may not be compatible; in order for Anaconda to work properly, its provided python needs to be the “default” python.</div>
<div><br>
</div>
<div>We have information regarding the installation of Anaconda/Miniconda on the PyNGL/PyNIO download page:
<a href="https://www.pyngl.ucar.edu/Download/" target="_blank">https://www.pyngl.ucar.edu/<wbr>Download/</a></div>
<div><br>
</div>
<div>In order to use the recommended &quot;conda-forge&quot; versions (different from the example on the linked page), create a conda environment using a command such as:</div>
<div><font face="Courier New">conda create --name &lt;env_name&gt; --channel conda-forge pynio pyngl</font></div>
<div><br>
</div>
<div>and then activate the environment:</div>
<div><font face="Courier New">source activate &lt;env_name&gt;</font></div>
<div><br>
</div>
<div>Note that “&lt;env_name&gt;” can be whatever you would like your conda environment to be named; for example, the linked documentation above uses “pyn_test”.</div>
<div><br>
</div>
<div>If using Anaconda/Miniconda is not possible, then we will have to further troubleshoot building PyNIO from source code.</div>
<div><br>
</div>
<div>Please let us know if this information helps!</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Kevin</div>
<div><br>
<div>
<blockquote type="cite">
<div>On Dec 6, 2016, at 12:38 PM, Fan, Xingang &lt;<a href="mailto:xingang.fan@wku.edu" target="_blank">xingang.fan@wku.edu</a>&gt; wrote:</div>
<br class="m_5012855140466370866Apple-interchange-newline">
<div>
<div style="word-wrap:break-word;font-size:14px;font-family:Calibri,sans-serif">
<div style="font-family:Calibri,sans-serif;font-size:14px">Hi,</div>
<div style="font-family:Calibri,sans-serif;font-size:14px"><br>
</div>
<div style="font-family:Calibri,sans-serif;font-size:14px">I am using Enthought Canopy as my default python. I would like to get PyNIO and PyNGL installed. </div>
<div style="font-family:Calibri,sans-serif;font-size:14px"><br>
</div>
<div style="font-family:Calibri,sans-serif;font-size:14px">I have tried to download the prebuilt binaries, none of them work for my Ubuntu environment (I have to use the VirtualBox and have a Virtual Machine of Ubuntu system on my windows machines
 for our classroom use, because I wanted to have pygrib, PyNIO, and PyNGL). Although the prebuilt packages worked for my MacBook Pro, where the Canopy was also installed. </div>
<div style="font-family:Calibri,sans-serif;font-size:14px"><br>
</div>
<div style="font-family:Calibri,sans-serif;font-size:14px">Then I had to try to install from the source code of PyNIO. I have followed the instructions online at <a href="https://www.pyngl.ucar.edu/Download/build_pynio_from_src.shtml#HDF4" target="_blank">https://www.pyngl.ucar.edu/<wbr>Download/build_pynio_from_src.<wbr>shtml</a>.</div>
<div style="font-family:Calibri,sans-serif;font-size:14px">And all non-optional packages have been installed without problem. However, when I get down to install PyNIO, it seemed installed, but the import Nio showed the following error messages:</div>
<div style="font-family:Calibri,sans-serif;font-size:14px"><br>
</div>
<div style="font-family:Calibri,sans-serif;font-size:14px">
<div>import Nio</div>
<div>------------------------------<wbr>------------------------------<wbr>---------------</div>
<div>ImportError                               Traceback (most recent call last)</div>
<div>&lt;ipython-input-1-d77b80fd2dfc&gt; in &lt;module&gt;()</div>
<div>----&gt; 1 import Nio</div>
<div><br>
</div>
<div>/home/xfan/Enthought/Canopy_<wbr>64bit/User/lib/python2.7/site-<wbr>packages/PyNIO/Nio.py in &lt;module&gt;()</div>
<div>     61 &#39;&#39;&#39;</div>
<div>     62 </div>
<div>---&gt; 63 from nio import *</div>
<div>     64 from nio import _C_API</div>
<div>     65 </div>
<div><br>
</div>
<div>ImportError: /home/xfan/Canopy/appdata/<wbr>canopy-1.7.4.3348.rh5-x86_64/<wbr>lib/libgfortran.so.3: version `GFORTRAN_1.4&#39; not found (required by /home/xfan/Enthought/Canopy_<wbr>64bit/User/lib/python2.7/site-<wbr>packages/PyNIO/nio.so)</div>
<div><br>
</div>
<div>PLEASE help see what&#39;s the problem. While installing, I have the following environment variables set:</div>
<div>
<div>export HAS_NETCDF4=1</div>
<div>export HAS_HDF5=1</div>
<div>export NETCDF_PREFIX=/usr/local</div>
<div>export F2CLIBS=gfortran</div>
<div>export F2CLIBS_PREFIX=/usr/lib/x86_<wbr>64-linux-gnu</div>
</div>
<div><br>
</div>
<div>Thanks,</div>
<div>
<div>
<div>-- </div>
<div>
<div style="margin:0in 0in 0.0001pt;font-size:11pt">Xingang Fan, Ph. D.,        |      Department of Geography and Geology<u></u><u></u></div>
<div style="margin:0in 0in 0.0001pt;font-size:11pt">Associate Professor         |      Western Kentucky University<u></u><u></u></div>
<div style="margin:0in 0in 0.0001pt;font-size:11pt">of Meteorology                |      1906 College Heights Blvd., #31066<u></u><u></u></div>
<div style="margin:0in 0in 0.0001pt;font-size:11pt"><a href="tel:(270)%20745-5980" value="+12707455980" target="_blank">270-745-5980</a>                 |      Bowling Green, KY 42101-1066<u></u><u></u></div>
<div style="margin:0in 0in 0.0001pt;font-size:11pt"><a href="mailto:xingang.fan@wku.edu" style="color:purple" target="_blank">xingang.fan@wku.edu</a><u></u><u></u></div>
<div style="margin:0in 0in 0.0001pt;font-size:11pt"><a href="http://people.wku.edu/xingang.fan" style="color:purple" target="_blank">http://people.wku.edu/xingang.<wbr>fan</a></div>
</div>
</div>
</div>
</div>
</div>
______________________________<wbr>_________________<br>
pyngl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/pyngl-talk" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/pyngl-talk</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</span></div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</span></div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</span></div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div></div></span>
</div>

<br>______________________________<wbr>_________________<br>
pyngl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/pyngl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/pyngl-talk</a><br>
<br></blockquote></div><br></div>