Install fastscape

Required dependencies

Install using conda

fastscape can be installed or updated using conda:

$ conda install fastscape -c conda-forge

This installs fastscape and all the required dependencies.

the fastscape conda package is maintained on the conda-forge channel.

Install from source

Be sure you have the required dependencies installed first. You might consider using conda to install them:

$ conda install xarray-simlab fastscapelib-f2py -c conda-forge

A good practice (especially for development purpose) is to install the packages in a separate environment, e.g. using conda:

$ conda create -n fastscape python xarray-simlab fastscapelib-f2py numba -c conda-forge
$ conda activate fastscape

Then you can clone the fastscape git repository and install it using pip locally:

$ git clone https://github.com/fastscape-lem/fastscape.git
$ cd fastscape
$ pip install .

For development purpose, use the following command:

$ pip install -e .

Import fastscape

To make sure that fastscape is correctly installed, try import it in a Python console:

>>> import fastscape