Python interpreter#
Supported Python versions#
Python version |
End of life |
|---|---|
3.11 |
October 2027 |
3.12 |
October 2028 |
3.13 |
October 2029 |
3.14 |
October 2030 |
Installation#
Download the Ansys Python Manager tool:
Download the latest version from here.
Run the installer:
Double-click the installer.
For installation type, select STANDARD and Python 3.11 or Python 3.12 or Python 3.13 or Python 3.14.
Proceed with the installation.
Add the selected interpreter to the
PATHenvironment variable:Find the
PATHenvironment variable in the session settings.Add the following lines:
C:\Users\<username>\AppData\Local\Programs\Python\Python3xx\Scripts\C:\Users\<username>\AppData\Local\Programs\Python\Python3xx\Important
Be sure to replace
<username>with your actual username and3xxwith the version you installed (for example,311for Python 3.11,312for Python 3.12,313for Python 3.13, or314for Python 3.14).If you have multiple Python versions installed, be sure to add the new entries at the top of the list. Use the Move Up button to move the new entries to the top of the list.
Don’t mix conflicting entries. If System Path environment variable contains other Python versions, they may take precedence over the new Python order defined in the user
Pathenvironment variable. To avoid this, make sure the new Python entries are at the top of the list in bothPathenvironment variables.
Click OK to save the changes.
Verify the installation:
Open a command prompt.
Type
python --versionand press Enter.
You should see the version of Python you just installed:
Python 3.xxWarning
If the command outputs a Python version that is not the one you just installed, it means that the order of the Python interpreters in the
PATHenvironment variable is not correct.Install
tomlandpackagingon your current system Python interpreter:Open a command prompt.
Type the following command and press Enter:
pip install toml packaging