I can't run Pyansys-math: enter manually the path #128
-
Hello, I have a little experience with Python and I am new user of Ansys Python. First of all, congratulations for this. Well, I have been using the both on Windows, and as we know, it is common that there are problems with path. So, I attached the following image that shows the error I've been getting. Thank you very much in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hello @MayconSilva7, |
Beta Was this translation helpful? Give feedback.
-
Hey, I am just testing the Pyansys-math, so I write the following script:
I mean, it is something related to the path. I've been using the VSCode. And I added the folder to my working directory. Thank you very much again. |
Beta Was this translation helpful? Give feedback.
As MAPDL is used in the background, it is necessary to have a licensing for that and localize its executable file. This discussion will probably helps you to find out were your ANSYS executable is located.
Once PyMAPDL is correctly set up, you can launch PyAnsys Math. The final code will probably look something like this:
or, like this: