ansys-tools-path: A tool to locate Ansys products#

How to install#

In order to install ansys-tools-path, make sure you have the latest version of pip. To do so, run:

python -m pip install -U pip

Then, you can simply execute:

python -m pip install ansys-tools-path

How to use#

You can use any of the functions available in the API to identify the path of the local Ansys installation.

For example you can use find_ansys to locate the path of the latest Ansys installation available:

>>> from ansys.tools.path import find_ansys
>>> find_ansys()
'C:/Program Files/ANSYS Inc/v211/ANSYS/bin/winx64/ansys211.exe', 21.1