Discovery 2025R1 does not open with pyAnsys

Hello ansys community,
I 've installed the new ansys version 25.1 and wanted to test a pyAnsys script which opens discovery. But pyAnsys does not find the new installation. (With 24.1 and 24.2 the script was working).
The environmental variables are set like in the versions before. I've tried it with python 3.10 and 3.12. What could be the reason and how can I solve this issue?
best regards,
Steve
Best Answer
-
I found the solution. I had to add “ 251: "2025R1",“
In the list: SUPPORTED_ANSYS_VERSIONS: SUPPORTED_VERSIONS_TYPE = {}In file
C:\Users\MYUSERNAME\AppData\Roaming\Python\Python310\site-packages\ansys\tools\path\path.py
0
Answers
-
I used following code:
from ansys.geometry.core import launch_modeler_with_discovery
launch_modeler_with_discovery(product_version = 241) --> works
launch_modeler_with_discovery(product_version = 242) --> works
launch_modeler_with_discovery(product_version = 251) --> is not working0 -
0
-
Ok the version 251 is completly unknown in pyAnsys
but the enviromental variables are set and equal to the versions before
what could be the reason and how can I fix it?
0