Coder Social home page Coder Social logo

Comments (5)

joshlk avatar joshlk commented on July 20, 2024

Hi, great to hear your using the package πŸ™‚. One way around it would be to use k-means-constrained==0.6.0 which works with numpy==1.20.3. Another way is to clone this repo and build and install the package from source with any numpy version. If the first method doesn’t work I can provide you details on how to do it

from k-means-constrained.

arogozhnikov avatar arogozhnikov commented on July 20, 2024

Unfortunately, neither combination of numpy and k-means-constrained works for me.

Tried 0.6.0 and numpy 1.20.* and numpy 1.20.3
Tried 0.7.0 and numpy 1.21.* and numpy 1.21.5

Tried building with --no-binary.

Can't use 1.22 because of numba. Even more surprising to me that a couple of months ago I've managed to get 0.6.0 to work, but I don't remember which numpy version I've installed πŸ˜•

from k-means-constrained.

hehomm avatar hehomm commented on July 20, 2024

Hi @joshlk! I'm experiencing the same issue, and any further advice on how to get around this would be greatly appreciated. Doesn't work with k-means-constrained==0.6.0 and numpy==1.20.3, k-means-constrained==0.7.0 and numpy==1.21.5 as suggested in a different thread, nor with the versions I've succesfully used earlier this year. I'm now trying to figure out how to install from the cloned repository without upgrading numpy in the process. The details on that would come in handy for me as well :)

from k-means-constrained.

alfredostrath avatar alfredostrath commented on July 20, 2024

Hi! I'm dealing with the same issues mentioned above and would be grateful for any info on how to solve it. Thank you :)

from k-means-constrained.

joshlk avatar joshlk commented on July 20, 2024

This is an unfortunate reality of Pythons packaging system - you can't get out of dependency hell. I'm closing this for now.

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.