Ansys Learning Forum Forums Discuss Simulation Photonics Help for qINTERCONNECT Reply To: Help for qINTERCONNECT

venuskd
Subscriber

Hi Lito,

According to the "qINTERCONNECT User Guide-Ansys Optics" , it mentions that you should "verify that the version of Python being used is the packaged version." However, I’m unsure what this means in practice. I am connecting to Lumerical via the Python API using the following code:

import sys
sys.path.append("C:\\Program Files\\Lumerical\\v242\\api\\python\\")


And then I use below code :


from qinterconnect.solver import QSolver

To connect to QSolver, but I see this error below:

ModuleNotFoundError: No module named 'qinterconnect.solver'

I'm unsure how to resolve this issue.

 

I’ve already reinstalled the latest versions of Lumerical and QINTERCONNECT, but the issue persists.

 

In the meantime, I would appreciate it if you could share any webinars or YouTube links that might help me understand the steps to run examples, such as those in this "Link."

 

Bests,
Venus