Somnath Paul
Subscriber

I tried to follow the installation guide given here: https://lumopt.readthedocs.io/en/latest/install.html#install

I ran the following codes to add the lumapi to python path

import numpy as np
import matplotlib.pyplot as plt
import os
import imp

lumapi = imp.load_source("lumapi","C:\\Program Files\\Lumerical\\v222\\api\\python\\lumapi.py")

os.add_dll_directory("C:\\Program Files\\Lumerical\\v222\\api\\python")