You can install esmlab with pip, conda, or by installing from source.


Pip can be used to install esmlab:

pip install esmlab


To install the latest version of esmlab from the conda-forge repository using conda:

conda install -c conda-forge esmlab

Install from Source

To install esmlab from source, clone the repository from github:

git clone
cd esmlab
pip install -e .

You can also install directly from git master branch:

pip install git+


To run esmlab’s tests with pytest:

git clone
cd esmlab
pytest - v