Installation

Required dependencies

Additionally, if you plan to use pyscenarios.sobol(), installing Numba will greatly speed up the calculation.

You can install the required dependencies using pip:

pip install pyscenarios
pip install pyscenarios[numba]
pip install pyscenarios[all]

or conda:

conda install -c conda-forge pyscenarios
conda install -c conda-forge pyscenarios numba

Minimum dependency versions

pyscenarios adopts a rolling policy based on SPEC 0 regarding the minimum supported version of its dependencies.

You can see the actual minimum tested versions in the anaconda requirements file.

Testing

To run the test suite after installing pyscenarios, first install pytest via pypi or conda and then run:

pytest