Install on Windows

Install Python environment

As a prerequisite, Python must be installed, see Python on Windows.

Install BornAgain as a Python package

Install BornAgain from PyPI:

$ python -m pip install bornagain

Troubleshooting

Frequent problems include the following:

How many Pythons are installed on the system?

Having more than one Python interpreter installed on the system may cause subtle errors. Managing their co-existence is possible, but may require special skills. It may be preferable to uninstall all Python versions but one.

Does the Python interpreter version match the BornAgain installation?

BornAgain is a 64-bit application and requires a 64-bit Python3 installed on the system.

The Python version number (major.minor), indicated in the BornAgain installer name (e.g. BornAgain-24.0-python3.12-win64.exe) must match the Python installation on your system.