Skip to content
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

RuntimeError: Could not load the ecCodes library! #16

Open
GloryPassarello opened this issue Dec 20, 2019 · 4 comments
Open

RuntimeError: Could not load the ecCodes library! #16

GloryPassarello opened this issue Dec 20, 2019 · 4 comments
Labels
question Further information is requested

Comments

@GloryPassarello
Copy link

Hi all,

I have installed the ecCodes with

pip3 install eccodes-python

but the python -m eccodes selfcheck fails, giving back :

RuntimeError: Could not load the ecCodes library!

I have installed it on a virtualenv and I am on Ubuntu 18.04

@alexamici
Copy link
Contributor

alexamici commented Dec 20, 2019

@GloryPassarello you need to follow the instructions to install the ecCodes library: https://github.com/ecmwf/eccodes-python#system-dependencies

edit You may also try to install it via APT, but the version shipped may be old:

sudo apt install libeccodes-tools

@alexamici alexamici added the question Further information is requested label Dec 20, 2019
@GloryPassarello
Copy link
Author

@alexamici , I tried with the instruction you reported before, but I solved with the last line of code and I have back:

Warning: ecCodes 2.17.0 or higher is recommended. You are running version 2.6.0 Found: ecCodes v2.6.0. Your system is ready.

I have installed the version of eccodes 2.17.

why is the version changed?

@zaheerkzz
Copy link

zaheerkzz commented Aug 19, 2022

@GloryPassarello you need to follow the instructions to install the ecCodes library: https://github.com/ecmwf/eccodes-python#system-dependencies

edit You may also try to install it via APT, but the version shipped may be old:

sudo apt install libeccodes-tools

this worked for ubuntu
for mac os

brew install eccodes

@JonRowe
Copy link

JonRowe commented Nov 13, 2022

If your coming here with this error on an M1 mac, see https://github.com/ecmwf/findlibs/pull/3/files homebrew install eccodes to an unrecognised place

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants