Prerequisites#

You need to have the following prerequisites to get started with PyAnsys:

  • A valid Python version

  • A licensed version of Ansys

Download and install Ansys#

Download Ansys software from the Ansys Customer Portal. Ensure you have a license to use the software.

Download and install Python#

Download and install the latest stable version of Python from the https://www.python.org/downloads.

Supported Python versions#

The PyAnsys ecosystem follows SPEC-0 for Python version support. This implies that PyAnsys packages drop support for a Python version three years after their initial release:

         gantt
     dateFormat YYYY-MM-DD
     axisFormat %Y-%m
     Python 3.7  :done,   des1, 2018-06-27, 3y
     Python 3.8  :done,   des2, 2019-10-14, 3y
     Python 3.9  :done,   des3, 2020-10-05, 3y
     Python 3.10 :active, des4, 2021-10-04, 3y
     Python 3.11 :active, des5, 2022-10-24, 3y
     Python 3.12 :active, des6, 2023-10-02, 3y
     Python 3.13 :        des7, 2024-10-01, 3y
    

Python versions supported by SPEC-0 policy (red line) and PyAnsys Python versions supported (color coded)#

In previous diagram:

  • Python versions in gray are no longer supported

  • Python versions in light blue are currently supported

  • Python versions in dark blue are not supported yet

Note

Adoption and deprecation of Python versions in the PyAnsys ecosystem are tentative. Delays may occur due to third party dependencies.

Below you can find a list of the Python versions supported by each PyAnsys metapackage release:

PyAnsys version Min. Python version Max. Python version Download
main >=3.10 <4 https://github.com/ansys/pyansys
2023.1 >=3.7 <3.11 https://pypi.org/project/pyansys/2023.1.3
2023.2 >=3.8 <4 https://pypi.org/project/pyansys/2023.2.11
2024.1 >=3.9 <4 https://pypi.org/project/pyansys/2024.1.8
2024.2 >=3.9 <4 https://pypi.org/project/pyansys/2024.2.5
2025.1 >=3.10 <4 https://pypi.org/project/pyansys/2025.1.2