Taylor Robertson
Ansys Employee

It seems like it may be an issue with your license or environment. I have used Anaconda in the past so there shouldn't be any fundamental issue.

Actually comparing my code you may want to delete the last part of the sys.append?

sys.path.append("C:\\Program Files\\Lumerical\\v231\\api\\python")
 
If that doesn't work try and eliminate the first issue by lanching the simple python script using the python interpreter we ship with, or launch it from the Lumerical software. Maybe confirm that both work?