Giter Club home page Giter Club logo

Comments (7)

vinay-k-pisharody avatar vinay-k-pisharody commented on July 20, 2024

I am getting the same error with Python 3.6 as well.

from scikit-kinematics.

jeffreymonaco avatar jeffreymonaco commented on July 20, 2024

I encounter this too.

The issue appears to be that scikit-kinematics 0.8.1 is using functions that have been removed from matplotlib as of matplotlib 3.1.0.

Specifically, matplotlib documentation indicates that the function mlab.dist was deprecated in matplotlib 2.2, and it has been removed in matplotlib 3.1.0. The suggestion is to use the numpy function hypot. See https://matplotlib.org/3.1.0/api/api_changes.html for a discussion of this API change.

I think the ideal fix is for scikit-kinematics to be updated for compatibility with the current matplotlib version. Absent this, you can set up a custom python environment using an earlier version of matplotlib. As a last resort, you can probably edit the scikit-kinematics offending file (view.py) to use numpy.hypot instead of mlab.dist.

I just encountered this problem so I haven't gone through any of the above steps to know if there are similar gotchas.

Good luck.

from scikit-kinematics.

thomas-haslwanter avatar thomas-haslwanter commented on July 20, 2024

Should be fixed now.
Sorry for the slow implementation - I have been sick :(

from scikit-kinematics.

Jendker avatar Jendker commented on July 20, 2024

Is there any chance of uploading the new version to pip?

from scikit-kinematics.

marcusnh avatar marcusnh commented on July 20, 2024

Is this problem fixed? I have encountered the same problem when installing with pip

from scikit-kinematics.

thomas-haslwanter avatar thomas-haslwanter commented on July 20, 2024

Can you please send the explicit error-code?
When I install it with pip, I get version 0.8.7. And that version does not import the "view" module automatically - so it should be impossible that the import of the package should be affected by anything in the 'view.py'.

from scikit-kinematics.

dadasmash avatar dadasmash commented on July 20, 2024

here's a solution that manully define it: ESMG/pyroms#18

from scikit-kinematics.

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.