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) must be supported by the BornAgain wheel. When installing from PyPI, pip selects a compatible wheel automatically or reports that no matching distribution is available.