Installing
Python Version
Python (> 3.9)
We require at least Python 3.9.
Installation
Environments
We currently do not provide a conda build of anemoi-models so the suggested installation is through Python virtual environments.
For linux the process to make and use a venv is as follows,
python -m venv /path/to/my/venv
source /path/to/my/venv/bin/activate
Instructions
To install the package, you can use the following command:
python -m pip install anemoi-models
We also maintain other dependency sets for different subsets of functionality:
python -m pip install "anemoi-models[docs]" # Install optional dependencies for generating docs
Development versions
To install the most recent development version, install from github:
$ python -m pip install git+https://github.com/ecmwf/anemoi-core.git#subdirectory=models
Testing
To run the test suite after installing anemoi-models, install (via pypi)
py.test and run pytest
in the models
directory of the anemoi-core repository.