joshlk / k-means-constrained

K-Means clustering - constrained with minimum and maximum cluster size. Documentation: https://joshlk.github.io/k-means-constrained
https://github.com/joshlk/k-means-constrained
BSD 3-Clause "New" or "Revised" License
192 stars 43 forks source link

Import Error [BUG] #23

Closed ekwan closed 2 years ago

ekwan commented 2 years ago

Hi, I'm getting this error with Python 3.9.5 and numpy 1.22.3:

image
DedaFab commented 2 years ago

Same error, you need to install the numpy version 1.22.0. The further problem is when another package requires to install another version of numpy, then you need to reinstall again that version 1.22.0 of numpy.

joshlk commented 2 years ago

The issue should be resolved with the latest version. Please update the package using pip install 'k-means-constrained>=0.7.2' and report back

ekwan commented 2 years ago

Tried it and it seemed to work, though it took a while to load. Thanks for fixing it!

joshlk commented 2 years ago

Great!