# Solve known problems on BornAgain

file:///usr/share/doc/bornagain/html/howto/troubleshooting/index.html Recent content in Solve known problems on BornAgain Hugo en-us

# Set Python environmental variables under Windows

file:///usr/share/doc/bornagain/html/howto/troubleshooting/set_env_py_win.html Mon, 01 Jan 0001 00:00:00 +0000 file:///usr/share/doc/bornagain/html/howto/troubleshooting/set_env_py_win.html <h4 id="setting-python-environmental-variables-under-windows">Setting Python environmental variables under Windows</h4> <p>With Python 3.10 in Conda or Pyenv platforms, the BornAgain GUI might crash when a Python script is imported. This problem is not observed with Python 3.11 or newer. Therefore, we recommend upgrading to a newer Python version <code>&gt;= 3.11</code>.</p> <p>If Python 3.10 is the preferred version, the Python-related environmental variables must be set <em>manually</em> before running the BornAgain GUI to avoid the crash.</p>