can not load / use functions from skimage.feature

625 views
Skip to first unread message

hans peter

unread,
Dec 12, 2014, 4:19:33 AM12/12/14
to scikit...@googlegroups.com
Hi there,
I running Windows 7 (64bit)
with WinPython 2.7 NumPy 1.8.1, SciPy 0.13.3, Matplotlib 1.3.1 guidata 1.6.1, guiqwt 2.3.2 Cython‑0.21.1
and the skimage from http://www.lfd.uci.edu/~gohlke/pythonlibs/#scikits.image ( pre compiled )
Also the python path is correct set ( Path and Pythonpath )

The basic example from the website works fine but after I tryed to import from skimage.feature import blob_dog, blob_log, blob_doh
I got different error messages, so I installed and unistalled every thing but nothing works.

My current error message after try to import skimage.featrue

>>> Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name blob_dog


I also had some messages like, could not find .corner and .hough and so on

I have absolutly no clue how to solve this ..

would be nice if someone could help

thanks

Juan Nunez-Iglesias

unread,
Dec 12, 2014, 6:04:27 AM12/12/14
to scikit...@googlegroups.com
Hi Hans,

Why does your link point to the old name, scikits.image? (It is now scikit-image.) You might have an old version. What's the output for

import skimage
skimage.__version__

?

Also, I would recommend the Anaconda Python distribution, as it takes away a lot of the pain of library installs in Python.

--
You received this message because you are subscribed to the Google Groups "scikit-image" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Stefan van der Walt

unread,
Dec 12, 2014, 10:49:03 AM12/12/14
to scikit...@googlegroups.com
Hi Hans

On 2014-12-12 11:19:33, hans peter <h4n5...@gmail.com> wrote:
> and the skimage from
> http://www.lfd.uci.edu/~gohlke/pythonlibs/#scikits.image ( pre compiled )
> Also the python path is correct set ( Path and Pythonpath )
>
> The basic example from the website works fine but after I tryed to import
> *from skimage.feature import blob_dog, blob_log, blob_doh*I got different
> error messages, so I installed and unistalled every thing but nothing works.
>
> My current error message after try to import skimage.featrue

I don't think these features are available in your version yet. We'll
be releasing 0.11 over the weekend, so you should have access to it
then.

Alternatively, you may download the code and build it yourself (it's not
too hard).

Stéfan

Juan Nunez-Iglesias

unread,
Dec 13, 2014, 8:46:02 AM12/13/14
to scikit...@googlegroups.com
Stéfan, the blob_* functions are supposed to be in 0.10 and up...

Stéfan van der Walt

unread,
Dec 13, 2014, 12:52:58 PM12/13/14
to scikit-image
On Sat, Dec 13, 2014 at 3:45 PM, Juan Nunez-Iglesias <jni....@gmail.com> wrote:
> Stéfan, the blob_* functions are supposed to be in 0.10 and up...

Alright, then further investigation is needed. Hans, can you let us
know your version number?

Stéfan

Josh Warner

unread,
Dec 14, 2014, 7:37:15 PM12/14/14
to scikit...@googlegroups.com

AFAIK the name switch which removed the plural and added the dash happened in the transition from 0.7.x to 0.8. That’s a long time ago; around my first PR! It’s a long time in advance of the addition of the blob_* functions.

I think it’s possible Chris Gohlke maintained installers separately for the old name until recently. If so, you probably have version 0.7ish.

To let us know your version number, open a Python shell and run

>>> import skimage
>>> print skimage.__version__

(In any event, switching to the Anaconda distribution would almost certainly fix this and allow painless updates to the entire ecosystem… without even requiring elevated privileges!)

Josh

On Saturday, December 13, 2014 11:52:58 AM UTC-6, Stefan van der Walt wrote:

Reply all
Reply to author
Forward
0 new messages