This guide describes how to install ecCodes with Python bindings in a conda environment (Note: Python here means Python 3; Python 2 is deprecated).
Step-by-step guide
If you don do not already have a conda environment installed on your system, the simplest is to download a miniconda miniforge installer for your platform
Tip To install ecCodes, you should download the miniconda miniforge installer for a 64-bit operating system with Python 3
Once miniconda is miniforge is installed, activate it and then install ecCodes using conda:
No Format % conda install -c conda-forge eccodes
This will install the ecCodes library and its command line tools for you.
Tip If the conda install command fails and your connection to the Internet is via a proxy then you may need to set the
http_proxy
andhttps_proxy
environment variables appropriately.The final step is to install the ecCodes Python bindings using pip. Still in your conda environment:
No Format pip3% conda install -c conda-forge python-eccodes
Your ecCodes installation is now ready to use !
Update of an existing conda installation ecCodes
To update the version of ecCodes installed in your conda environment, first update the ecCodes installation using:
No Format |
---|
% conda update -c conda-forge eccodes |
and then the Python bindings with:
No Format |
---|
% conda update -c conda-forge python-eccodes |
Related articles
Content by Label | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Page properties | ||
---|---|---|
| ||
|