[pyngl-talk] Unable to import Nio in a Linux system

lbqnj's QQMail Calendars lbqnj at qq.com
Tue Feb 12 02:01:39 MST 2019


Dear all,
I’m a user changing from NCL to pynio.
Recently I have install the pynio using the recommended conda way (conda create -n ncl_to_python -c conda-forge xarray netcdf4 scipy pyngl pynio ncl).
When I activate the ncl_to_python environment, I cannot import Nio correctly, although the Ngl is running well. The error message is as following:
>>> import Nio
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/data2/anaconda3/envs/ncl_to_python/lib/python3.6/site-packages/PyNIO/Nio.py", line 83, in <module>
    from _nio import *
ImportError: /data2/anaconda3/envs/ncl_to_python/lib/python3.6/site-packages/PyNIO/../../../libgdal.so.20: undefined symbol: _ZN6libdap3DDSC1EPNS_15BaseTypeFactoryERKSs

Attached is my system information provided by “uname -a”:
Linux R910 2.6.32-431.el6.x86_64 #1 SMP Sun Nov 10 22:19:54 EST 2013 x86_64 x86_64 x86_64 GNU/Linux.

Is it a bug in the PyNIO 1.5.4, or any other problems in my Linux system?
Many thanks for your help.
Best wishes.

B. Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/pyngl-talk/attachments/20190212/e0d9a6de/attachment.html>


More information about the pyngl-talk mailing list