Lito Yap
Ansys Employee


Are you running the API/Python script from the Lumerical CAD > Script File Editor using our bundled Python 3?
Try to run a simple script below from the CAD/Script File Editor (see image).

import lumapi
fdtd = lumapi.FDTD()

Otherwise, if you are running directly from the Terminal, please see the following Knowledge Base (KB) — which shows the default install path for the latest release and uses our bundled Python 3. 

>> How to run Lumerical API (Python) scripts in Linux – Ansys Optics

>> Setting environment variable in Linux – Ansys Optics 




*** See Ansys Optics Troubleshooting and FAQ for answers to common and know issues. ***