<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi B. Liu,<div class=""><br class=""></div><div class="">Could you please try running the following commands:</div><div class=""><font face="Menlo" class=""><br class=""></font></div><div class=""><font face="Menlo" class="">source activate ncl_to_python</font></div><div class=""><font face="Menlo" class="">conda update -c conda-forge —all</font></div><div class=""><font face="Menlo" class="">python -c "import Nio; print(Nio.__version__)" # should print "1.5.4"</font></div><div class=""><br class=""></div><div class="">There was an issue with the PyNIO package on conda-forge several weeks ago that caused the “libgdal.so.20” error you’re seeing, but it should be fixable by updating all of the packages in your ncl_to_python environment.</div><div class=""><br class=""></div><div class="">Please let us know if this does not help so that we can try additional steps to solve the problem.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">Kevin</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Feb 12, 2019, at 2:01 AM, lbqnj's QQMail Calendars via pyngl-talk <<a href="mailto:pyngl-talk@ucar.edu" class="">pyngl-talk@ucar.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=gb2312" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Dear all,<div class="">I’m a user changing from NCL to pynio.</div><div class="">Recently I have install the pynio using the recommended conda way (<span style="font-family: courier; font-size: 13.333333015441895px; background-color: rgb(255, 231, 198);" class="">conda create -n ncl_to_python -c conda-forge xarray netcdf4 scipy pyngl pynio ncl).</span></div><div class=""><font style="background-color: white;" class="">When I activate the ncl_to_python </font>environment, I cannot import Nio correctly, although the Ngl is running well. The error message is as following:</div><div class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgb(255, 228, 168);" class="">>>> import Nio</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgb(255, 228, 168);" class="">Traceback (most recent call last):</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgb(255, 228, 168);" class="">  File "<stdin>", line 1, in <module></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgb(255, 228, 168);" class="">  File "/data2/anaconda3/envs/ncl_to_python/lib/python3.6/site-packages/PyNIO/Nio.py", line 83, in <module></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgb(255, 228, 168);" class="">    from _nio import *</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgb(255, 228, 168);" class="">ImportError: /data2/anaconda3/envs/ncl_to_python/lib/python3.6/site-packages/PyNIO/../../../libgdal.so.20: undefined symbol: _ZN6libdap3DDSC1EPNS_15BaseTypeFactoryERKSs</span></div></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgb(255, 228, 168);" class=""><br class=""></span></div><div class="">Attached is my system information provided by “uname -a”:</div><div class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures; background-color: rgb(255, 228, 168);" class="">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.</span></div></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="background-color: white;" class="">Is it a bug in the PyNIO 1.5.4, or any other problems in my Linux system?</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="background-color: white;" class="">Many thanks for your help.</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="background-color: white;" class="">Best wishes.</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="background-color: white;" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="background-color: white;" class="">B. Liu</span></div></div>_______________________________________________<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" class="">http://mailman.ucar.edu/mailman/listinfo/pyngl-talk</a><br class=""></div></blockquote></div><br class=""></div></body></html>