[pyngl-talk] error in loading libraries

Jayant jayantkp2979 at gmail.com
Tue Apr 28 11:10:39 MDT 2020


Dear,
I installed the packages using:

conda create -n ncl_to_python -c conda-forge xarray netcdf4 scipy
pyngl pynio ncl

However, I am getting errors on importing the packages. Please advise
Best,
Jayant

(ncl_to_python) jayant at note-jayant:~$ python
Python 3.8.2 | packaged by conda-forge | (default, Apr 24 2020, 07:56:27)
[Clang 9.0.1 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy as np
>>> import Ngl, Nio
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File
"/Users/jayant/opt/anaconda3/envs/ncl_to_python/lib/python3.8/site-packages/PyNIO/Nio.py",
line 83, in <module>
    from _nio import *
ImportError:
dlopen(/Users/jayant/opt/anaconda3/envs/ncl_to_python/lib/python3.8/site-packages/PyNIO/_
nio.cpython-38-darwin.so, 2): Symbol not found: _crc32
  Referenced from:
/Users/jayant/opt/anaconda3/envs/ncl_to_python/lib/libgdal.26.dylib
  Expected in:
/Users/jayant/opt/anaconda3/envs/ncl_to_python/lib/libcfitsio.8.dylib
 in /Users/jayant/opt/anaconda3/envs/ncl_to_python/lib/libgdal.26.dylib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/pyngl-talk/attachments/20200428/2ed53634/attachment.html>


More information about the pyngl-talk mailing list