-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import Ngl error #23
Comments
Hi, I've installed the software like you did with minicondas conda for python 3.7 on may mac (OsX 10.14.6), and everythings works fine. The error message is saying that the gfortran library is not installed in your pyn_env environment, maybe you can install it manually with 'conda install -n pyn_env -c conda-forge gfortran'. -Karin |
Hi Karin,
I uninstalled Anaconda, did a fresh install of minicondas then typed;
conda create --name pyn_env --channel conda-forge pynio pyngl
I still get the same error when I test with “import Ngl”. The version of gfortran library installed is libgfortran-4.0.0.
Before proceeding with the install I got this; libgfortran conda-forge/osx-64::libgfortran-4.0.0-2
Isn’t the error indicating pyngl is looking for libgfortran-3?
I also tried: conda install -n pyn_env -c conda-forge gfortran
But got this error;
PackagesNotFoundError: The following packages are not available from current channels:
- gfortran
Thank you for your help,
Jen
On Oct 18, 2019, at 10:10 AM, Karin Meier-Fleischer <[email protected]<mailto:[email protected]>> wrote:
Hi,
I've installed the software like you did with minicondas conda for python 3.7 on may mac (OsX 10.14.6), and everythings works fine.
The error message is saying that the gfortran library is not installed in your pyn_env environment, maybe you can install it manually with 'conda install -n pyn_env -c conda-forge gfortran'.
…-Karin
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#23?email_source=notifications&email_token=ANQFX5USZIAHMVEGPIIZ3O3QPHNV3A5CNFSM4JBNUARKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBU7DHI#issuecomment-543814045>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANQFX5QRSOLP4JY2TOADV5LQPHNV3ANCNFSM4JBNUARA>.
|
Hello,
I solved my problem. I had to force the install for gfortan 3;
conda create -n new_environment --channel conda-forge pynio pyngl libgfortran=3
And I had to install XQuartz on my Mac. Now everything is running smoothly.
Thank you,
Jen
On Oct 18, 2019, at 10:10 AM, Karin Meier-Fleischer <[email protected]<mailto:[email protected]>> wrote:
Hi,
I've installed the software like you did with minicondas conda for python 3.7 on may mac (OsX 10.14.6), and everythings works fine.
The error message is saying that the gfortran library is not installed in your pyn_env environment, maybe you can install it manually with 'conda install -n pyn_env -c conda-forge gfortran'.
…-Karin
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#23?email_source=notifications&email_token=ANQFX5USZIAHMVEGPIIZ3O3QPHNV3A5CNFSM4JBNUARKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBU7DHI#issuecomment-543814045>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANQFX5QRSOLP4JY2TOADV5LQPHNV3ANCNFSM4JBNUARA>.
|
Thank you! It is very tricky that you have to download gfortran on your own and add it to your anaconda/lib. |
I via
Hi Karin, |
|
I installed pyNGL (version 1.6.1) onto my Mac (OS 10.14.6) using the following commands:
conda create --name pyn_env --channel conda-forge pynio pyngl
source activate pyn_env
I then tested pyNGL and pyNIO;
pyNio is fine, but I got the following error with pyNGL;
ImportError: dlopen(/Users/jen/anaconda3/envs/pyn_env/lib/python3.7/site-packages/ngl/fplib.cpython-37m-darwin.so, 2): Library not loaded: @rpath/libgfortran.3.dylib
Referenced from: /Users/jen/anaconda3/envs/pyn_env/lib/python3.7/site-packages/ngl/fplib.cpython-37m-darwin.so
Reason: image not found
Can you help me with this error? Thank you.
The text was updated successfully, but these errors were encountered: