Install

Bancor Simulator is available for Python 3.6+. It can be installed from pypi, or from source.

To install Bancor Simulator with all dependencies, run the following command:

$ pip install bancor_simulator

Windows Additional Requirements & Troubleshooting

If you are using pip to install bancor_simulator on Windows, it is recommended you first install the following packages using conda:

  • numba (needed for shap and prediction explanations). Install with conda install -c conda-forge numba

  • graphviz if you’re using bancor_simulator’s plotting utilities. Install with conda install -c conda-forge python-graphviz

Mac Additional Requirements & Troubleshooting

Additionally, graphviz can be installed by running:

brew install graphviz