Wheel fails to build on Windows
Reported by @ashu-1993 here:
Hi , I want to install this package in windows environment but i am getting an error - Failed building wheel for kmeans. Please help me complete installation of this package in python
@ashu-1993 thanks for the report, sorry this is causing problems. I'm going to need a bit more information to look into this. Can you paste the output of these commands:
python --version
pip --version
pip install kmeans -vvv
What version of Windows are you trying to run this on? Either paste the output of a command like systeminfo or pull it up through the GUI: Settings > System > About (source)
Hi, I m also not able to install kmeans in my machine.
Hi @Padmavathy25,
Sorry you're encountering the same issue. Can you please provide the diagnostic information above? I haven't touched the project since 2015 and never tried to build on Windows, so I'm a bit stuck without the error details.
Alternatively, you can copy the lib.c file and create your own python->c binding for the last function in that file, which is all this library really exports.
I installed scikit-learn and imported kmeans from it. Do you still need error messages
Good call 👍 scikit-learn is going to be far more robust than a random C script I wrote half a decade ago.