Open divan opened 5 years ago
I am getting the same error with Python 3.6 as well.
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.
Should be fixed now. Sorry for the slow implementation - I have been sick :(
Is there any chance of uploading the new version to pip?
Is this problem fixed? I have encountered the same problem when installing with pip
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'.
here's a solution that manully define it: https://github.com/ESMG/pyroms/issues/18
Hi,
I installed scikit-kinematics on my MacOS X system via pip3 (
pip3 install scikit-kinematics
), installation went smoothly, but when I try to import library it throws an error:Any suggestion what can be wrong with my setup? Thanks in advance.