Ansys Learning Forum Forums Discuss Simulation Photonics Problem Connecting to Lumerical via Python Reply To: Problem Connecting to Lumerical via Python

hbauser
Subscriber
I have attached the license configuration. I'm able to open the GUI so that seems to be fine.
When I tried to run the python script from the GUI script window, I ended up with the same issue, that the module could not import h5py. I believe in the post linked in my original post you said that you can't import any new modules into the bundled python so to me this error seems to be stem from that limitation.
When running the script you provided I got a syntax error in the first line of "import lumapi". I have also attached the related screenshot.