CARVIEW |
Select Language
HTTP/2 200
date: Fri, 15 Aug 2025 18:14:54 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-robots-tag: none
etag: W/"cc12784a2c6726b2f6022208231d2bc3"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=N%2BZwS0fvEhTcPl0KS0wDencsv19%2FV%2BOyf%2FWzeMFQLAKc%2FIOXDUDPAdyyZWAIBBWmCNK0u%2BhSk4%2BqmkrYD%2Fy4ru%2FDtviZ2A9J7qaxbaFdpV8ecc6XXy7U0qkifBnedXjtylyN1iLqxyRhLWLx3T16iVGZYM936W4JEgmrZxO0o%2FC7NhKRvEluf0GZPUQSnNI82dEqY%2FM7LGxCDTDeRb0kF4PO7oifLaPjy1Vu2N1HQvrmn3JGKRk00j5eZA4E1S4JwGFxWulZd%2FuZaVMv%2BA3y5g%3D%3D--yGpC52yWlvpWIgpM--bn%2BBa9lWypWg4V5Ut1%2BOug%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1949381203.1755281694; Path=/; Domain=github.com; Expires=Sat, 15 Aug 2026 18:14:54 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 15 Aug 2026 18:14:54 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: E142:1F94C2:F25E3:1304F5:689F791E
Working Copy Preparation · annoviko/pyclustering Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 255
Working Copy Preparation
Andrei Novikov edited this page May 25, 2018
·
5 revisions
Here you will find one of the ways how to prepare working of pyclustering using command line (linux, or cygwin).
- Create a folder we are you going to store pyclustering sources:
$ mkdir pyclustering
- Clone sources from github repository:
$ cd pyclustering/
$ git clone https://github.com/annoviko/pyclustering.git .
- Compile core of the library 'ccore' (make sure that you have compiler that support C++ 14):
$ cd ccore/
$ make ccore_x64 # build 64-bit version
# make ccore_x86 # build 32-bit version
# make ccore # build both versions
Log example of ccore compilation:
andrei@linuxmachine:~/workspace/pyclustering/ccore$ make ccore
make -f ccore.mk ccore
make[1]: Entering directory `/home/andrei/workspace/pyclustering/ccore'
mkdir -p obj/ccore/.
mkdir -p obj/ccore/cluster
mkdir -p obj/ccore/container
mkdir -p obj/ccore/differential
mkdir -p obj/ccore/interface
mkdir -p obj/ccore/nnet
mkdir -p obj/ccore/tsp
g++ -c -O3 -MMD -MP -std=c++1y -fPIC -Isrc src/./ccore.cpp -o obj/ccore/./ccore.o
g++ -c -O3 -MMD -MP -std=c++1y -fPIC -Isrc src/./utils.cpp -o obj/ccore/./utils.o
g++ -c -O3 -MMD -MP -std=c++1y -fPIC -Isrc src/cluster/agglomerative.cpp -o obj/ccore/cluster/agglomerative.o
... ... ...
# Code compilation
... ... ...
g++ -c -O3 -MMD -MP -std=c++1y -fPIC -Isrc src/tsp/distance_matrix.cpp -o obj/ccore/tsp/distance_matrix.o
g++ -static-libstdc++ -shared obj/ccore/./ccore.o obj/ccore/./utils.o obj/ccore/cluster/agglomerative.o obj/ccore/cluster/ant_clustering_mean.o obj/ccore/cluster/cluster_algorithm.o obj/ccore/cluster/cluster_data.o obj/ccore/cluster/cure.o obj/ccore/cluster/dbscan.o obj/ccore/cluster/hsyncnet.o obj/ccore/cluster/kmeans.o obj/ccore/cluster/kmedians.o obj/ccore/cluster/kmedoids.o obj/ccore/cluster/optics.o obj/ccore/cluster/ordering_analyser.o obj/ccore/cluster/rock.o obj/ccore/cluster/somsc.o obj/ccore/cluster/syncnet.o obj/ccore/cluster/xmeans.o obj/ccore/container/adjacency_bit_matrix.o obj/ccore/container/adjacency_connector.o obj/ccore/container/adjacency_factory.o obj/ccore/container/adjacency_list.o obj/ccore/container/adjacency_matrix.o obj/ccore/container/adjacency_weight_list.o obj/ccore/container/kdtree.o obj/ccore/differential/differ_factor.o obj/ccore/interface/agglomerative_interface.o obj/ccore/interface/cure_interface.o obj/ccore/interface/dbscan_interface.o obj/ccore/interface/kmeans_interface.o obj/ccore/interface/kmedians_interface.o obj/ccore/interface/kmedoids_interface.o obj/ccore/interface/optics_interface.o obj/ccore/interface/pcnn_interface.o obj/ccore/interface/pyclustering_package.o obj/ccore/interface/rock_interface.o obj/ccore/interface/som_interface.o obj/ccore/nnet/legion.o obj/ccore/nnet/pcnn.o obj/ccore/nnet/som.o obj/ccore/nnet/sync.o obj/ccore/nnet/syncpr.o obj/ccore/tsp/ant_colony.o obj/ccore/tsp/distance_matrix.o -o ../pyclustering/core/x64/linux/ccore.so
make[1]: Leaving directory `/home/andrei/workspace/pyclustering/ccore'
You can’t perform that action at this time.