See ecCodes installation

Step-by-step guide

The Python 3 bindings are built with CFFI and are packaged separately. So first install ecCodes with a shared library (either BUILD_SHARED_LIBS=ON or BOTH) and then install from PyPI:

  1. Install ecCodes as usual (see ecCodes installation)
  2. pip3 install eccodes


Note: The above only applies to Python3. The Python2 bindings are deprecated and no longer part of the package.
You are strongly advised to migrate to Python3