+++
title = "Python on Windows"
weight = 20
+++

## Install Python on Windows

Currently, BornAgain requires Python version between 3.8 and 3.11.

Run the installer and follow the steps.

To use BornAgain GUI application, the installation directory should be added to the system `PATH`:

{{< figscg src="/img/win_add_to_PATH.png" class="center" width="450px">}}

Ensure that `pip` package manager is checked for installation. Command
```
$ python -m ensurepip
```
will install `pip` if it is missing.

#### BornAgain with Anaconda

With Anaconda Python the requirements for versions 3.8 and 3.9 are more restrictive:

compatibility is confirmed for Python 3.8.x>=3.8.15 and for 3.9.x>=3.9.15
