Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imgaug not compatible with numpy 2.0.1 #855

Open
sggupte opened this issue Aug 9, 2024 · 1 comment · May be fixed by #864
Open

imgaug not compatible with numpy 2.0.1 #855

sggupte opened this issue Aug 9, 2024 · 1 comment · May be fixed by #864

Comments

@sggupte
Copy link

sggupte commented Aug 9, 2024

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.

@nmerrillq
Copy link

Looks like it's handled in this PR #854

@erjel erjel linked a pull request Dec 18, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants