


{"id":186558,"date":"2021-07-26T18:11:19","date_gmt":"2021-07-26T18:11:19","guid":{"rendered":"\/forum\/forums\/reply\/186558\/"},"modified":"2021-07-26T18:11:19","modified_gmt":"2021-07-26T18:11:19","slug":"186558","status":"publish","type":"reply","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/186558\/","title":{"rendered":"Reply To: Problem Connecting to Lumerical via Python"},"content":{"rendered":"<p>I have attached the license configuration. I&#8217;m able to open the GUI so that seems to be fine. <br \/>\nWhen 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&#8217;t import any new modules into the bundled python so to me this error seems to be stem from that limitation.<br \/>\nWhen running the script you provided I got a syntax error in the first line of &#8220;import lumapi&#8221;. I have also attached the related screenshot. <br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/forum-uploads\/524\/P9G7WJFU5MU7.png\" width=\"1684\" height=\"1548\" \/><img loading=\"lazy\" decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/forum-uploads\/403\/45NGK1PY82EW.png\" width=\"804\" height=\"140\" \/><img loading=\"lazy\" decoding=\"async\" src=\"\/forum\/wp-content\/uploads\/forum-uploads\/059\/QLHD9ZKR2D4X.png\" width=\"524\" height=\"300\" \/><\/p>\n<p><\/p>\n","protected":false},"template":"","class_list":["post-186558","reply","type-reply","status-publish","hentry"],"aioseo_notices":[],"acf":[],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/186558","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/reply"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/186558\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=186558"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}