📦 Installation
You need conda (Miniforge, Miniconda or Anaconda). Download the environment file and create the environment:
curl -O https://raw.githubusercontent.com/mrc-ide/KR_simulator/main/environment-user.yml
conda env create -f environment-user.yml
conda activate krsimThe environment is called krsim. It contains krsim, its dependencies, and Jupyter with matplotlib, so you can also run the tutorials on your own computer instead of in Google Colab.
Check the install
With the environment active, run:
krsim --helpIt lists every command. krsim <command> --help lists every option for one command.
Update
pip does not reinstall krsim while the version number is unchanged, so force it to fetch the latest code:
pip install --force-reinstall --no-deps git+https://github.com/mrc-ide/KR_simulator.gitNext steps
Work through the tutorial, starting with the quick start.