Versions Compared

Key

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

...

The Python 3 bindings are now built with CFFI and are packaged separately. However, from version 2.37.0 of the Python bindings, a pre-built version of the ecCodes binary library is supplied with the bindings, meaning that it is not necessary to build the ecCodes library unless you really need something very specific.
If you do wish to use your own build of the ecCodes binary library with its Python bindings, first . So first install ecCodes as above with a shared library (either BUILD_SHARED_LIBS=ON or BOTH) and then install from PyPI with the --no-binary eccodes option as shown here:
Code Block
> pip3 install eccodes --no-binary eccodes

If you are installing your own-built ecCodes binary library into a non-standard installation location, then set the environment variable ECCODES_DIR to tell the bindings where to find the root installation directory of the ecCodes engine.

Code Block
> export ECCODES_DIR=/path/to/where/you/install/eccodes

For more information on installing the Python bindings and using a separate ecCodes binary library, please see https://github.com/ecmwf/eccodes-python/blob/master/README.rst.


See: https://pypi.org/project/eccodes/

...

Please note: Windows is not a platform that is used for technical work at ECMWF. Therefore we will not be able to cannot support this platform as well as we do for others, such as Linux. For operational use, we strongly advise you to use Linux.

...