kmeans icon indicating copy to clipboard operation
kmeans copied to clipboard

Wheel fails to build on Windows

Open numberoverzero opened this issue 7 years ago • 5 comments

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

numberoverzero avatar Sep 21 '18 22:09 numberoverzero

@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)

numberoverzero avatar Sep 21 '18 22:09 numberoverzero

Hi, I m also not able to install kmeans in my machine.

Padmavathy25 avatar Aug 26 '20 20:08 Padmavathy25

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.

numberoverzero avatar Aug 26 '20 21:08 numberoverzero

I installed scikit-learn and imported kmeans from it. Do you still need error messages

Padmavathy25 avatar Aug 27 '20 17:08 Padmavathy25

Good call 👍 scikit-learn is going to be far more robust than a random C script I wrote half a decade ago.

numberoverzero avatar Aug 27 '20 22:08 numberoverzero