SetupΒΆ
This document assumes you have conda installed, but any other python installation will do.
Clone the model repository from https://github.com/scherbertlemon/swarming
Provide a python environment with
python >= 3.8, e.g. withcondaconda create -n swarm python=3.8
Remark for Windows
On Windows, it is recommended to install
numpy, scipy, pandas, jupyter, graphviz, python-graphvizandpyarrowwith conda, e.g. into a separate environment:conda create -n swarm python=3.8 numpy scipy jupyter pandas pyarrow
Install the
swarmingpackage into your environment (e.g. useconda activateto activate it) from the cloned repository folder:pip install -e .
After that, swarming can be imported from any notebook or program running in your environment.