ajhynes7/scikit-spatial

ImportError: cannot import name 'Cylinder'

Closed this issue · 5 comments

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'

Hi Paul, could you check which version of scikit-spatial was installed?

$ pip3 show scikit-spatial
paul@desktop:~$ pip3 show scikit-spatial
Name: scikit-spatial
Version: 5.2.0

I see that this is an old version. I will look into getting a newer one.

Sure, you can try running this:

$ pip3 install -U scikit-spatial

Hopefully that'll install the latest version (6.1.0) for you.

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.