[pyngl-talk] pyngl-talk Digest, Vol 157, Issue 2

cgc at mail.ustc.edu.cn cgc at mail.ustc.edu.cn
Mon Feb 25 05:36:39 MST 2019


Re: Contents of  pyngl-talk Digest, Vol 157, Issue 2
I use the command to solve the libgal error,maybe it can help you too.
conda create --name pyn_env --channel conda-forge/label/cf201901 pynio pyngl
Thanks
ustc cgc

At2019-02-13 03:00:02,pyngl-talk-request<pyngl-talk-request at ucar.edu>wrote:
> Send pyngl-talk mailing list submissions to
> 	pyngl-talk at ucar.edu
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
> or, via email, send a message with subject or body 'help' to
> 	pyngl-talk-request at ucar.edu
> 
> You can reach the person managing the list at
> 	pyngl-talk-owner at ucar.edu
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of pyngl-talk digest..."
> 
> 
> Today's Topics:
> 
>    1. Unable to import Nio in a Linux system (lbqnj's QQMail Calendars)
>    2. Re: Unable to import Nio in a Linux system (Kevin Hallock)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Tue, 12 Feb 2019 17:01:39 +0800
> From: lbqnj's QQMail Calendars <lbqnj at qq.com>
> To: pyngl-talk at ucar.edu
> Subject: [pyngl-talk] Unable to import Nio in a Linux system
> Message-ID: <F386A471-F875-46C9-8650-DB22F9A71B55 at qq.com>
> Content-Type: text/plain; charset="gb2312"
> 
> 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-0001.html>
> 
> ------------------------------
> 
> Message: 2
> Date: Tue, 12 Feb 2019 09:58:57 -0700
> From: Kevin Hallock <hallock at ucar.edu>
> To: lbqnj's QQMail Calendars <lbqnj at qq.com>
> Cc: "pyngl-talk at ucar.edu talk" <pyngl-talk at ucar.edu>
> Subject: Re: [pyngl-talk] Unable to import Nio in a Linux system
> Message-ID: <5B41B353-7160-44A6-AE88-B598503F66EA at ucar.edu>
> Content-Type: text/plain; charset="utf-8"
> 
> Hi B. Liu,
> 
> Could you please try running the following commands:
> 
> source activate ncl_to_python
> conda update -c conda-forge ?all
> python -c "import Nio; print(Nio.__version__)" # should print "1.5.4"
> 
> 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.
> 
> Please let us know if this does not help so that we can try additional steps to solve the problem.
> 
> Thanks,
> Kevin
> 
> > On Feb 12, 2019, at 2:01 AM, lbqnj's QQMail Calendars via pyngl-talk <pyngl-talk at ucar.edu> wrote:
> > 
> > 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
> > _______________________________________________
> > 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/20190212/256198d1/attachment-0001.html>
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> pyngl-talk mailing list
> pyngl-talk at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
> 
> 
> ------------------------------
> 
> End of pyngl-talk Digest, Vol 157, Issue 2
> ******************************************



More information about the pyngl-talk mailing list