BornAgain requires Python3 (version >= 3.10) and a number of Python modules.
We recommend using at least Python 3.11, especially under Windows. For problems with Pyenv and Conda under Python 3.10, see Set Python environmental variables under Windows.
The only exception is if BornAgain has been specially built
with the flag BORNAGAIN_PYTHON=OFF
, which results in a GUI app
that has no support for import or export of Python scripts.
Therefore, before installing or building BornAgain, install Python following these operating-system specific instructions:
Then, install the