[pyngl-talk] Problems to run PyNGL/PyNIO
Tomoko Koyama
Tomoko.Koyama at Colorado.EDU
Mon Mar 29 01:14:40 MDT 2021
I uninstalled miniconda and installed anaconda.
(conda version is 4.9.2)
But I still can’t use PyNIO.
>>> import Ngl
>>> import Nio
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/tkoyama/opt/anaconda3/envs/pyn_env/lib/python3.8/site-packages/PyNIO/Nio.py", line 83, in <module>
from _nio import *
ImportError: dlopen(/Users/tkoyama/opt/anaconda3/envs/pyn_env/lib/python3.8/site-packages/PyNIO/_nio.cpython-38-darwin.so, 2): Library not loaded: @rpath/libtbb.dylib
Referenced from: /Users/tkoyama/opt/anaconda3/envs/pyn_env/lib/libtiledb.dylib
Reason: image not found
I appreciate any suggestions.
Thank you,
Tomoko
> On Mar 25, 2021, at 14:23, Tomoko Koyama <tomoko.koyama at colorado.edu> wrote:
>
> Hello.
>
> I'm originally a NCL user and want to use PyNio/PyNGL on my Mac from now on.
> (macOS Big Sur ver. 11.2.3)
>
> Following the instruction, I could install two packages with miniconda.
> After "conda activate pyn_env", I tested the both packages.
> I just get "ModuleNotFoundError” messages when I try to import them.
> Just in case, I deleted/reinstalled "pyn_env" a couple of times, but nothing changes.
>
> Could you tell me what to do?
> I don't know if the following information helps, but I'm wondering the path is not right.
>
> Thank you very much in advance,
> Tomoko
>
> ===========================================
>
> (pyn_env) tkoyama at XXXWorkspace % which python
> /Users/tkoyama/miniconda3/envs/ncl_stable/bin/python
>
> (pyn_env) tkoyama at XXXWorkspace % where python
> /Users/tkoyama/miniconda3/envs/ncl_stable/bin/python
> /Users/tkoyama/miniconda3/envs/pyn_env/bin/python
> /usr/bin/python
>
> (pyn_env) tkoyama at XXXWorkspace % conda info -e
> # conda environments:
> #
> base /Users/tkoyama/miniconda3
> ncl_stable /Users/tkoyama/miniconda3/envs/ncl_stable
> pyn_env * /Users/tkoyama/miniconda3/envs/pyn_env
> /Users/tkoyama/opt/miniconda3
More information about the pyngl-talk
mailing list