Installation¶
To install the latest release of agentpy, run the following command on your console:
$ pip install agentpy
Dependencies¶
Agentpy supports Python 3.6, 3.7, 3.8, and 3.9. The installation includes the following packages:
numpy, for scientific computing
matplotlib, for visualization
pandas, for output dataframes
networkx, for network analysis
IPython and ipywidgets, for interactive computing
SALib, for sensitivity analysis
These optional packages can further be useful in combination with agentpy, and are required in some of the tutorials:
Development¶
The most recent version of agentpy can be cloned from Github:
$ git clone https://github.com/JoelForamitti/agentpy.git
Once you have a copy of the source, you can install it with:
$ pip install -e
To include all necessary packages for development, you can use:
$ pip install -e .['dev']