<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 Raj,<div class=""><br class=""></div><div class="">It appears as though there is a dependency conflict between that particular version of PyNIO and the rest of Anaconda.</div><div class=""><br class=""></div><div class="">Our recommended instructions for installing PyNIO and PyNGL are as follows:</div><div class=""><blockquote type="cite" class="">To install PyNIO and PyNGL under conda, we recommend creating a conda environment:<br class=""><br class=""><div class=""> conda create --name pyn_test --channel conda-forge pynio pyngl</div><div class=""> source activate pyn_test</div><br class="Apple-interchange-newline"></blockquote><br class=""></div><div class="">We generally recommend creating a conda environment, especially when using Anaconda, due to dependency issues like what you experienced with libjpeg.</div><div class=""><br class=""></div><div class="">Please let me know if this helps.</div><div class=""><br class=""></div><div class="">Kevin</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 8, 2017, at 12:24 PM, Raju Ankleshwaria <<a href="mailto:raju.ankleshwaria@gmail.com" class="">raju.ankleshwaria@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">for PyNIO conda install -c ncar pynio=1.4.3</div><div class="">for PyNGL conda is unable to search the package. conda search pyngl</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Mar 8, 2017 at 11:18 AM, Kevin Hallock <span dir="ltr" class=""><<a href="mailto:hallock@ucar.edu" target="_blank" class="">hallock@ucar.edu</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="-ms-word-wrap: break-word;" class="">Hi Raj,<div class=""><br class=""></div><div class="">What was the full conda command you used to install PyNIO and PyNGL?</div><span class="HOEnZb"><font color="#888888" class=""><div class=""><br class=""></div><div class="">Kevin</div></font></span><div class=""><div class="h5"><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Mar 8, 2017, at 11:43 AM, Raju Ankleshwaria <<a href="mailto:raju.ankleshwaria@gmail.com" target="_blank" class="">raju.ankleshwaria@gmail.com</a>> wrote:</div><br class="m_7011304894923456380Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hi kevin,</div><div class=""><br class=""></div><div class="">I installed Anaconda in my Linux3 x64 and NIO. However, I am getting the below error of libjpecg.so.8. I do not have this file but version 9. see below information for your review.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">raj</div><div class=""><br class=""></div><div class="">[root@air runIndia]$ python <br class="">Python 2.7.13 |Anaconda custom (64-bit)| (default, Dec 20 2016, 23:09:15) <br class="">[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2<br class="">Type "help", "copyright", "credits" or "license" for more information.<br class="">Anaconda is brought to you by Continuum Analytics.<br class="">Please check out: <a href="http://continuum.io/thanks" target="_blank" class="">http://continuum.io/thanks</a> and <a href="https://anaconda.org/" target="_blank" class="">https://anaconda.org</a><br class="">>>> import Nio<br class="">Traceback (most recent call last):<br class=""> File "<stdin>", line 1, in <module><br class=""> File "/data/soft/anaconda2/lib/<wbr class="">python2.7/site-packages/PyNIO/<wbr class="">Nio.py", line 63, in <module><br class=""> from nio import *<br class="">ImportError: libjpeg.so.8: cannot open shared object file: No such file or directory<br class="">>>> <br class="">KeyboardInterrupt<br class="">>>> <br class="">[root@air runIndia]$ locate libjpeg<br class="">/data/soft/anaconda2/lib/<wbr class="">libjpeg.a<br class="">/data/soft/anaconda2/lib/<a href="http://libjpeg.la/" target="_blank" class="">libjp<wbr class="">eg.la</a><br class="">/data/soft/anaconda2/lib/<wbr class="">libjpeg.so<br class="">/data/soft/anaconda2/lib/<wbr class="">libjpeg.so.9<br class="">/data/soft/anaconda2/lib/<wbr class="">libjpeg.so.9.2.0<br class="">/data/soft/anaconda2/pkgs/<wbr class="">jpeg-9b-0/lib/libjpeg.a<br class="">/data/soft/anaconda2/pkgs/<wbr class="">jpeg-9b-0/lib/<a href="http://libjpeg.la/" target="_blank" class="">libjpeg.la</a><br class="">/data/soft/anaconda2/pkgs/<wbr class="">jpeg-9b-0/lib/libjpeg.so<br class="">/data/soft/anaconda2/pkgs/<wbr class="">jpeg-9b-0/lib/libjpeg.so.9<br class="">/data/soft/anaconda2/pkgs/<wbr class="">jpeg-9b-0/lib/libjpeg.so.9.2.0<br class="">/usr/lib64/libjpeg.so<br class="">/usr/lib64/libjpeg.so.62<br class="">/usr/lib64/libjpeg.so.62.1.0<br class="">/usr/local/lib/libjpeg.a<br class="">/usr/local/lib/<a href="http://libjpeg.la/" target="_blank" class="">libjpeg.la</a><br class="">/usr/local/lib/libjpeg.so<br class="">/usr/local/lib/libjpeg.so.9<br class="">/usr/local/lib/libjpeg.so.9.2.<wbr class="">0<br class=""><br class=""></div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Mar 7, 2017 at 11:44 AM, Kevin Hallock <span dir="ltr" class=""><<a href="mailto:hallock@ucar.edu" target="_blank" class="">hallock@ucar.edu</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div class="">Hi Raj,<div class=""><br class=""></div><div class="">If the pre-compiled versions of PyNIO and PyNGL are causing problems on your system, you may want to consider using conda instead: <a href="https://www.pyngl.ucar.edu/Download/" target="_blank" class="">https://www.pyngl.uca<wbr class="">r.edu/Download/</a></div><div class=""><br class=""></div><div class="">The conda package manager handles all dependencies (including gfortran) for you so that situations like this shouldn’t happen. Please let me know if you have any questions.</div><div class=""><br class=""></div><div class="">Kevin</div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class=""><div class="m_7011304894923456380h5"><div class="">On Mar 6, 2017, at 2:04 PM, Raju Ankleshwaria <<a href="mailto:raju.ankleshwaria@gmail.com" target="_blank" class="">raju.ankleshwaria@gmail.com</a>> wrote:</div><br class="m_7011304894923456380m_-6332578306778971185Apple-interchange-newline"></div></div><div class=""><div class=""><div class="m_7011304894923456380h5"><div dir="ltr" class=""><div class="">Dear Users,</div><div class=""><br class=""></div><div class="">I am installing PyNIO and PyNGL for the first time and getting errors. My system is CenOS 7 64-bit. I downloaded pre compiled files for my system with non-opendap.</div><div class=""><br class=""></div><div class="">I am getting error while import in Nio and Ngl. Please see the error below. I check the libgfortran and that file is there. Please see below.</div><div class=""><br class=""></div><div class="">I need your help.</div><div class="">Raj</div><div class=""><br class=""></div><div class="">Version of PyNIO: 1.4.1 linux-redhat-x86_64-gcc412-py2<wbr class="">71-numpy160</div><div class="">PyNGL: 1.4.0 linux-redhat-x86_64-gcc412-py2<wbr class="">71-numpy160</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">[root@air site-packages]# python<br class="">Python 2.7.5 (default, Nov 6 2016, 00:28:07) <br class="">[GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] on linux2<br class="">Type "help", "copyright", "credits" or "license" for more information.<br class="">>>> import Ngl<br class="">Traceback (most recent call last):<br class=""> File "<stdin>", line 1, in <module><br class=""> File "/usr/lib/python2.7/site-packa<wbr class="">ges/PyNGL/Ngl.py", line 39, in <module><br class=""> import fplib<br class="">ImportError: /lib64/libgfortran.so.1: undefined symbol: sqrtq<br class="">>>> <br class="">[root@air site-packages]# python<br class="">Python 2.7.5 (default, Nov 6 2016, 00:28:07) <br class="">[GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] on linux2<br class="">Type "help", "copyright", "credits" or "license" for more information.<br class="">>>> import Nio<br class="">Traceback (most recent call last):<br class=""> File "<stdin>", line 1, in <module><br class=""> File "/usr/lib64/python2.7/site-pac<wbr class="">kages/PyNIO/Nio.py", line 63, in <module><br class=""> from nio import *<br class="">ImportError: /lib64/libgfortran.so.1: undefined symbol: sqrtq<br class="">>>> import Ngl<br class="">Traceback (most recent call last):<br class=""> File "<stdin>", line 1, in <module><br class=""> File "/usr/lib/python2.7/site-packa<wbr class="">ges/PyNGL/Ngl.py", line 39, in <module><br class=""> import fplib<br class="">ImportError: /lib64/libgfortran.so.1: undefined symbol: sqrtq<br class="">>>> <br class="">[root@air site-packages]# locate libgfortran.so.1<br class="">/usr/lib64/libgfortran.so.1<br class="">/usr/lib64/libgfortran.so.1.0.<wbr class="">0<br class="">[root@air site-packages]# </div></div></div></div>
______________________________<wbr class="">_________________<br class="">pyngl-talk mailing list<br class="">List instructions, subscriber options, unsubscribe:<br class=""><a href="http://mailman.ucar.edu/mailman/listinfo/pyngl-talk" target="_blank" class="">http://mailman.ucar.edu/mailma<wbr class="">n/listinfo/pyngl-talk</a><br class=""></div></blockquote></div><br class=""></div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></div></div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></body></html>