Comments (4)
Hi 👋, can you please execute the following commands individually and show me the output:
where python
python -m pip uninstall -y k-means-constrained
python -m pip install k-means-constrained
python -c "import k_means_constrained; print(k_means_constrained)"
from k-means-constrained.
Hi @joshlk,
Here's the result:
python -m pip uninstall -y k-means-constrained
Found existing installation: k-means-constrained 0.7.3 Uninstalling k-means-constrained-0.7.3: Successfully uninstalled k-means-constrained-0.7.3
python -m pip install k-means-constrained
Collecting k-means-constrained Obtaining dependency information for k-means-constrained from https://files.pythonhosted.org/packages/d6/f4/23354675bbbbac8b660c7e971e2e7a4f29f0327adee92db714eb9bbc4f7f/k_means_constrained-0.7.3-cp311-cp311-win_amd64.whl.metadata Using cached k_means_constrained-0.7.3-cp311-cp311-win_amd64.whl.metadata (4.3 kB) Requirement already satisfied: ortools>=9.4.1874 in c:\apps\anaconda\lib\site-packages (from k-means-constrained) (9.7.2996) Requirement already satisfied: scipy>=1.6.3 in c:\apps\anaconda\lib\site-packages (from k-means-constrained) (1.10.1) Requirement already satisfied: numpy>=1.23.0 in c:\apps\anaconda\lib\site-packages (from k-means-constrained) (1.24.3) Requirement already satisfied: six in c:\apps\anaconda\lib\site-packages (from k-means-constrained) (1.16.0) Requirement already satisfied: joblib in c:\apps\anaconda\lib\site-packages (from k-means-constrained) (1.2.0) Requirement already satisfied: absl-py>=0.13 in c:\apps\anaconda\lib\site-packages (from ortools>=9.4.1874->k-means-constrained) (2.0.0) Requirement already satisfied: protobuf>=4.23.3 in c:\apps\anaconda\lib\site-packages (from ortools>=9.4.1874->k-means-constrained) (4.24.4) Using cached k_means_constrained-0.7.3-cp311-cp311-win_amd64.whl (330 kB) Installing collected packages: k-means-constrained Successfully installed k-means-constrained-0.7.3
python -c "import k_means_constrained; print(k_means_constrained)"
<module 'k_means_constrained' from 'C:\\Apps\\anaconda\\Lib\\site-packages\\k_means_constrained\\__init__.py'>
from k-means-constrained.
Hi, I can see from the last command that Python importedk_means_constrained
ok. Is it now working?
from k-means-constrained.
No, despite being ok, the import is not recognized
from k-means-constrained.
Related Issues (20)
- [BUG] Incompatible with `ortools >= 9.4` (`No module named 'ortools.graph.pywrapgraph'`) HOT 9
- [BUG] installation issues with numpy < 1.23 HOT 3
- facing the issue during running HOT 2
- [BUG] Failed to build k-means-constrained HOT 3
- Wrong clustering HOT 1
- Wrong clustering with pre_computed adjacency matrix HOT 3
- QGIS implementation HOT 1
- ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject HOT 2
- [How to classify the new instances after obtaining a constrained clustering] HOT 1
- [BUG] error compiling on apple silicon. HOT 2
- Maybe tag a new release? HOT 1
- Issue in importing k-means-constrained in Google Colab notebook HOT 2
- Possibility to use this on k-modes HOT 2
- Can't install k-means-constrained HOT 2
- Resource intensity HOT 2
- Weighting observations HOT 1
- Issue with min cost flow input HOT 2
- Segmentation fault when import k_means_constrained
- Is it possible to implement MiniBatchKmeansConstrained?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k-means-constrained.