[pyngl-talk] PyNIO and PyNGL installation error

Kevin Hallock hallock at ucar.edu
Tue Mar 7 12:44:52 MST 2017


Hi Raj,

If the pre-compiled versions of PyNIO and PyNGL are causing problems on your system, you may want to consider using conda instead: https://www.pyngl.ucar.edu/Download/ <https://www.pyngl.ucar.edu/Download/>

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.

Kevin

> On Mar 6, 2017, at 2:04 PM, Raju Ankleshwaria <raju.ankleshwaria at gmail.com> wrote:
> 
> Dear Users,
> 
> 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.
> 
> 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.
> 
> I need your help.
> Raj
> 
> Version of PyNIO: 1.4.1 linux-redhat-x86_64-gcc412-py271-numpy160
> PyNGL: 1.4.0 linux-redhat-x86_64-gcc412-py271-numpy160
> 
> 
> [root at air site-packages]# python
> Python 2.7.5 (default, Nov  6 2016, 00:28:07) 
> [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import Ngl
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/lib/python2.7/site-packages/PyNGL/Ngl.py", line 39, in <module>
>     import fplib
> ImportError: /lib64/libgfortran.so.1: undefined symbol: sqrtq
> >>> 
> [root at air site-packages]# python
> Python 2.7.5 (default, Nov  6 2016, 00:28:07) 
> [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import Nio
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/lib64/python2.7/site-packages/PyNIO/Nio.py", line 63, in <module>
>     from nio import *
> ImportError: /lib64/libgfortran.so.1: undefined symbol: sqrtq
> >>> import Ngl
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/lib/python2.7/site-packages/PyNGL/Ngl.py", line 39, in <module>
>     import fplib
> ImportError: /lib64/libgfortran.so.1: undefined symbol: sqrtq
> >>> 
> [root at air site-packages]# locate libgfortran.so.1
> /usr/lib64/libgfortran.so.1
> /usr/lib64/libgfortran.so.1.0.0
> [root at air site-packages]#
> _______________________________________________
> pyngl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/pyngl-talk/attachments/20170307/2b37ba99/attachment.html 


More information about the pyngl-talk mailing list