Skip to content

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

@goldengrape

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions