Using conda with the conda forge channel to install python-eccodes on linux (RHEL and ubuntu), we noticed today that the importing eccodes crashes with an import error.
❯ python
Python 3.8.6 | packaged by conda-forge | (default, Oct 7 2020, 19:08:05)
[GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import eccodes
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/a001673/miniconda3/envs/satpy-dev/lib/python3.8/site-packages/eccodes/__init__.py", line 15, in <module>
from .eccodes import *
File "/home/a001673/miniconda3/envs/satpy-dev/lib/python3.8/site-packages/eccodes/eccodes.py", line 12, in <module>
from gribapi import __version__
File "/home/a001673/miniconda3/envs/satpy-dev/lib/python3.8/site-packages/gribapi/__init__.py", line 13, in <module>
from .gribapi import * # noqa
File "/home/a001673/miniconda3/envs/satpy-dev/lib/python3.8/site-packages/gribapi/gribapi.py", line 32, in <module>
from .bindings import ENC, ffi, lib
File "/home/a001673/miniconda3/envs/satpy-dev/lib/python3.8/site-packages/gribapi/bindings.py", line 29, in <module>
from ._bindings import ffi, lib
ImportError: libeccodes.so: cannot open shared object file: No such file or directory
>>>
We see here in github that there is a 2020.10 release, could it be that it didn't make it to conda-forge for some reason?
Using conda with the conda forge channel to install python-eccodes on linux (RHEL and ubuntu), we noticed today that the importing eccodes crashes with an import error.
Minimal example:
That downloads and install
And then:
We see here in github that there is a 2020.10 release, could it be that it didn't make it to conda-forge for some reason?