Code Monkey home page Code Monkey logo

Comments (4)

joshlk avatar joshlk commented on August 30, 2024

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.

MLobatoR avatar MLobatoR commented on August 30, 2024

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.

joshlk avatar joshlk commented on August 30, 2024

Hi, I can see from the last command that Python importedk_means_constrained ok. Is it now working?

from k-means-constrained.

MLobatoR avatar MLobatoR commented on August 30, 2024

No, despite being ok, the import is not recognized

from k-means-constrained.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.