ImportError: cannot import name 'Cylinder'
Closed this issue · 5 comments
pauljurczak commented
I just installed scikit-spatial
with pip3
on Ubuntu 18.04 and Python 3.6.9. A simple example with points works, but:
>>> from skspatial.objects import Cylinder
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'Cylinder'
ajhynes7 commented
Hi Paul, could you check which version of scikit-spatial
was installed?
$ pip3 show scikit-spatial
pauljurczak commented
paul@desktop:~$ pip3 show scikit-spatial
Name: scikit-spatial
Version: 5.2.0
pauljurczak commented
I see that this is an old version. I will look into getting a newer one.
ajhynes7 commented
Sure, you can try running this:
$ pip3 install -U scikit-spatial
Hopefully that'll install the latest version (6.1.0) for you.
pauljurczak commented
It doesn't, but it is to be expected. Ubuntu 18.04 is far behind the newest versions of C/C++ library dependencies. Not a problem, I will be upgrading the OS.