Jump to content

AttributeError: module 'gom.api' has no attribute 'project'/ ZEISS Inspect 2025


Recommended Posts

Hello everyone,

I am no longer able to use a feature that I was previously able to access in previous software versions

AttributeError: module 'gom.api' has no attribute 'project'

Has there been a change in the licensing to access the image acquisition command? The API command appears to be same in the 2025 documentation

Thanks,

Canset

Edited
  • [ca...] changed the title to AttributeError: module 'gom.api' has no attribute 'project'/ ZEISS Inspect 2025

Hi Canset,

No, this is not related to the licensing scheme.

The way gom modules are imported has been changed in ZEISS INSPECT 2025 - now you have add a dedicated import statement for each module, e.g.

import gom.api.project
import gom.api.imaging

There is a hint in ZEISS INSPECT App Python API documentation — App Development Documentation, but for sure it can be overlooked easily.

Best regards,

Matthias

 

  • Thank you! 1
×
×
  • Create New...