Installation#

If you don’t have pip installed, this Python installation guide can guide you through the process.

Official Source#

figanos requires GDAL, which can be a bit tricky depending on your operating system. We recommend using conda to manage your Python environment and dependencies, as it simplifies the installation process for these packages.

conda install -c conda-forge figanos

or if you prefer using pip with a system-provided gdal, you can install figanos from PyPI:

python -m pip install figanos

Development Installation (conda + pip)#

For development purposes, we provide the means for generating a conda environment with the latest dependencies in an environment.yml file at the top-level of the Github repo.

In order to get started, first clone the repo locally:

git clone git@github.com:Ouranosinc/figanos.git

Then you can create the environment and install the package:

cd figanos
conda env create -f environment-dev.yml

Finally, perform an –editable install of figanos:

python -m pip install -e .
# Or
make dev