Closed awaizman1 closed 3 years ago
I had the same issue on Python 3.8.5, requirements.txt
needs to be updated.
Hi both,
Thanks for the bug report. Sorry it's taken me so long to get to it. I have updated the dependencies and corresponding tests. The latest version v0.6.0 should work: https://pypi.org/project/k-means-constrained/0.6.0/
Please let me know if you have any issues 😃
Josh
Describe the bug when installing k-means-constrained in python3.8 environment with numpy < 1.20 (i.e. 1.19.5) on linux, import fails due to numpy binary incompatibility.
Details: I think the root cause is that during package installation (PEP-517) the numpy that is used to compile the package is numpy>1.13 (as described in pyproject.toml). on python 3.8 this will collect 1.20 (in python 3.6 it will collect 1.19.5). so the package is built with numpy1.20 but if my environment has a different numpy (1.19.5) there is some binary incompatibility issue. maybe its better to remove numpy from pyproject.toml and let it use the installed numpy instead?
Minimum working example
Versions:
Thanks