umap icon indicating copy to clipboard operation
umap copied to clipboard

Numpy 1.24 removes long, causes import error

Open gh-byounggreenwald opened this issue 2 years ago • 1 comments

Hello!

Numpy finally removed the deprecated np.long object from version 1.24.0, so importing umap-learn dies when it gets to that step of the object definitions.

I can confirm a rollback to numpy version 1.23.5 solves the problem, but it would be nice to not be pegged to a version of numpy if possible.

Thanks!

PS: for those googling, the error is AttributeError: module 'numpy' has no attribute 'long'

gh-byounggreenwald avatar Oct 09 '23 23:10 gh-byounggreenwald

Same issue, did this problem solved?

SpeeeedLee avatar Oct 29 '24 03:10 SpeeeedLee