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

OverflowError: Python integer -255 out of bounds for uint8 error #5

Open
wrefgtzweve opened this issue Jul 6, 2024 · 1 comment
Open

Comments

@wrefgtzweve
Copy link
Member

Seems like the package numpy latest version 2.0.0 isn't compatible with the texture compression script. The error OverflowError: Python integer -255 out of bounds for uint8 only happens on this version.
The easiest way to fix it is using an older version of numpy pip install numpy==1.26.4

@wrefgtzweve wrefgtzweve changed the title Numpy 2.0.0 incompatible OverflowError: Python integer -255 out of bounds for uint8 error Jul 6, 2024
@FlyingGrasss
Copy link

Thanks so much! I wasn't directly using numpy, I was using the zemberek-python library which is a library for language processing, I kept getting this error and couldn't figure out what it was until I found your comment, I assume they just used an older version of numpy and since I had a newer version, it wasn't compatible.

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

No branches or pull requests

2 participants