Skip to content

com_error: (-2147221005, 'Invalid class string', None, None) #12

Description

@goldengrape
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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions