🐍 Installation#

conda install#

Conda

The easiest way to install Herbie and its dependencies is with Conda from conda-forge.

mamba install -c conda-forge herbie-data
conda install -c conda-forge herbie-data

pip install#

PyPI - Version

Herbie is published on PyPI and you can install it with pip, but it requires some dependencies that you will have to install yourself:

When those are installed within your environment, then you can install Herbie with pip.

# Install last published version
pip install herbie-data

To install the full functionality in the library which includes xarray accessors for plotting and data manipulation, please install the β€œextras” dependencies:

# Install last published version
pip install 'herbie-data[extras]'

The code can also be installed directly from github.

# Install current main branch
pip install git+https://github.com/blaylockbk/Herbie.git

or

# Clone and install editable source code
git clone https://github.com/blaylockbk/Herbie.git
cd Herbie
pip install -e .

uv install#

You can add Herbie to your uv project with:

uv add herbie-data

Herbie CLI tools can be installed with

uv install herbie-data