osys = zos.OpticalSystem()
get this error message:
com_error: (-2147221005, 'Invalid class string', None, None)
and if I run
EnsureModule('ZOSAPI_interfaces', 0,1,0)
I also get -2147221005 error.
what I tried:
- reinstall zemax
- reinstall anaconda
- reinstall pywin32, and run
python \Script\pywin32_postinstall.py -install as admin