lumapi might be missing and here is some helpful information:


  • Working directory : It should be possible to store the files in any locations as desired. However, it is recommended to put the Lumerical and Python files in the same folder in order for the above script files to work properly. It is also important to check the Lumerical working directory has the correct path, see here for instructions to change the Lumerical working directory.
    • Linux: /opt/lumerical/interconnect/api/python/
    • Windows: C:\Program Files\Lumerical\FDTD\api\python


During the Lumerical product installation process, a lumapi.py file should be automatically installed in this location.

This module is the key to enable Lumerical-Python API connection. Once the lumapi module is imported to Python, the integration should be read.”