Skip to main content

https://github.com/bauxn/kernel-kmeans. openMP is not enabled when installing via PiPy

Project description

simple installation via "pip install KKMeans"

To enable openMP, clone the project and open setup.py, you will find a list compile_args. The dcython argument prevents cython from transpling the assertions to c (-> do not remove). Add whatever arguments your compiler needs to compile with openMP (and all other args you like).
There are default arguments for msvc and gcc listed.

When finished editing setup.py (or being content without openMP), install with "pip install ." in the root directory (the same where setup.py resides)
Tested for windows11 and ubuntu 22.04.2
Upgrade pip before installation, as pyproject.toml without setup.cfg is a rather new standard

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

KKMeans-0.0.8.tar.gz (822.2 kB view hashes)

Uploaded Source

Built Distribution

KKMeans-0.0.8-cp39-cp39-win_amd64.whl (1.3 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page