Thank you greatly everyone,
I am trying to use PyAnsys for my first time. For simplicity I just want to start by being able to run the simple PyAnsys Geometry example in the following website :
https://geometry.docs.pyansys.com/version/stable/user_guide/index.html
On terminal I had used the following two commands:
Pip install pyansys==2024.2.5
pip install ansys-geometry-core
When I start up python by simply typing "python" into terminal, I can indeed run the following command (it's slow)
from ansys.geometry.core import Modeler
Nevertheless, it ran. So indeed, the module imported correctly.
However, when I try running the next command it errors after a while :
modeler = Modeler()
The error I get is:
modeler = Modeler()
CRITICAL - - logger - handle_exception - Uncaught exception
Traceback (most recent call last):
File "", line 1, in
File "#####\AppData\Roaming\Python\Python312\site-packages\ansys\geometry\core\modeler.py", line 107, in init
self._grpc_client = GrpcClient(
^^^^^^^^^^^
File "<@beartype(ansys.geometry.core.connection.client.GrpcClient.init) at 0x2723500e980>", line 244, in init
File "#####\AppData\Roaming\Python\Python312\site-packages\ansys\geometry\core\connection\client.py", line 157, in init
wait_until_healthy(self._channel, timeout)
File "#####\AppData\Roaming\Python\Python312\site-packages\ansys\geometry\core\connection\client.py", line 79, in wait_until_healthy
raise TimeoutError(
TimeoutError: Channel health check to target 'dns:///###################' timed out after 120 seconds.
I wanted to ask if someone can please help me with this.
Thank you for your help,
Kevin