-
Notifications
You must be signed in to change notification settings - Fork 508
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
issue with numy 2.0 ValueError: numpy.dtype size changed
#642
Comments
The numpy 2.0 release might mean you have to ensure cython gets run to rebuild C sources. Potentially this can be solved the |
It looks like numpy 2.0 is not going to play nice with cython and hdbscan here. Figuring out how to make it all work will take some time. In the meantime I've pinned the numpy version as <2 for a new hdbscan release so installing from PyPI (soon) will object to having hdbscan 0.8.37 and numpy 2.0. For other workarounds I would suggest looking to fast_hdbcan which should work with numpy 2.0 right now. |
Sorry, turns out there were some minor code tweaks needed. And there is another issue, but I am not sure what it is, since it doesn't seem to be related to NumPy itself. |
Thanks Sebastian and Leland! 🙏 Is there more still needed here? Or do we just need a release and packages? |
screenshot below shows the error in Colab
The text was updated successfully, but these errors were encountered: