Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This guide describes how to install ecCodes with Python bindings in a conda environment (Note: Python here means Python 3; Python 2 is deprecated). Note that installing ecCodes in conda is different from installing from PyPi via the 'pip' command - see here for more information.

Step-by-step guide

  1. If you do not already have a conda environment installed on your system, the simplest is to download a miniforge installer for your platform

    Tip

    To install ecCodes, you should download the miniforge installer for a 64-bit operating system with Python 3


  2. Once 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  and https_proxy  environment variables appropriately.


  3. The final step is to install the ecCodes Python bindings in your conda environment:

    No Format
    % conda install -c conda-forge python-eccodes


...