Ansys Learning Forum › Forums › Discuss Simulation › Photonics › Problem Connecting to Lumerical via Python › Reply To: Problem Connecting to Lumerical via Python
July 26, 2021 at 6:38 pm
Lito
Ansys Employee
That is good. It indicates that the API is working. The issue is when you are trying to use a module that is not installed on your machine. Try the suggestion from my previous comment
Yes, you will not be able to add modules into our bundled python. You will have to install Python3 in your machine and add the modules required by our API and your script. Then run your python script using your Python3 installation and set the PATH to include your Python installation, Lumerical, and API path in yourenvironment variables.