Skip to content

imgaug not compatible with numpy 2.0.1 #855

@sggupte

Description

@sggupte

When I try to import imgaug with python 3.10.12 and numpy version 2.0.1, code in imgaug at these lines throws the following Attribute error.

np.sctypes was removed in the NumPy 2.0 release. Access dtypes explicitly instead.. Did you mean: 'dtypes'?

Downgrading numpy back to numpy v1 is a quick fix but not ideal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions