I have installed the eccodes
library using Conda, but when I try to import it in Python I get "Cannot find the ecCodes library".
Why do I get this error and how can I resolve it? I think that Python does not know where to find the library.
I used the commands found here. That is,
conda install -c conda-forge eccodes
pip3 install --upgrade eccodes
I am using a Windows machine.
I wouldn't mess with Pip here. Conda Forge provides both the compiled library (
eccodes
) and the Python bindings (python-eccodes
). The latter lists the former as a dependency, so it should be sufficient to use: