Installation#
Setting up a user environment#
As a runn
user, it is easiest to install using the mamba package manager, as follows:
- Install mamba with the Mambaforge executable for your operating system.
-
Open the command line (or the "miniforge prompt" in Windows).
-
Create the runn mamba environment:
mamba create -n runn -c conda-forge -c JoseAngelMartinB runn
- Activate the runn mamba environment:
mamba activate runn
All together:
Running the example notebooks#
If you have followed the non-developer installation instructions above, you will need to install jupyter
into your runn
environment to run the example notebooks:
With Jupyter installed, it's easiest to then add the environment as a jupyter kernel:
Choosing a different environment name#
If you would like to use a different name to runn
for your mamba environment, the installation becomes (where [my-env-name]
is your preferred name for the environment):
mamba create -n [my-env-name] -c conda-forge --file requirements/base.txt
mamba activate [my-env-name]
ipython kernel install --user --name=[my-env-name]
Setting up a development environment#
The install instructions are slightly different to create a development environment compared to a user environment:
git clone git@github.com:JoseAngelMartinB/runn.git
cd runn
mamba create -n runn -c conda-forge --file requirements/base.txt --file requirements/dev.txt
mamba activate runn
pip install --no-deps -e .
python -m ipykernel install --user --name runn
For more detailed installation instructions specific to developing the runn codebase, see our development documentation.