Installation#
PyBADS is available via pip
and conda-forge
.
Install with:
python -m pip install pybads
or:
conda install --channel=conda-forge pybads
PyBADS requires Python version 3.9 or newer.
(Optional): Install Jupyter to view the examples. You can skip this step if you’re working from a Conda environment which already has Jupyter, but be aware that if the wrong
jupyter
executable is found on your path then import errors may arise.conda install jupyter
If you are running Python 3.11 and get an
UnsatisfiableError
you may need to install Jupyter fromconda-forge
:conda install --channel=conda-forge jupyter
The example notebooks can be accessed by running
python -m pybads
You can run PyVBMC’s internal tests with
pytest --pyargs pybads --reruns=3
The –reruns=3 argument allows re-trying a failed test up to 3 times, as many of PyBADS’s tests are stochastic in nature.
If you wish to install directly from latest source code, please see the Installation instructions for developers.