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

np.long isn't a valid field #341

Open
MM-Lehmann opened this issue Dec 10, 2024 · 1 comment
Open

np.long isn't a valid field #341

MM-Lehmann opened this issue Dec 10, 2024 · 1 comment
Assignees

Comments

@MM-Lehmann
Copy link

lbl = lbl.astype(np.long)

This fails on python 3.12.3, numpy==1.26.4, as this field is only available from numpy 2.xx, which isn't in the requirements. So, I propose, either replace the alias by its target np.int_ or update numpy version in requirements.txt

@seldauyanik-maxim
Copy link
Contributor

Thanks a lot for pointing that out, a fixing PR is submitted

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