On Monday, March 5, 2012 11:37:16 AM UTC+1, Nelle wrote:Hi Michael,
The example imports the harris method and not the module. It is a bit confusing because the method and the module have both the same name (maybe we can modify that ?).
I've checked both on the documentation and on my machine, and the example works fine.
What error message do you get when trying to run the example ?
states for the import:
from skimage.feature import harris
So when I do that, I get a module, with the method inside:
In [149]: from skimage.feature import harris
In [150]: harris
Out[150]: <module 'skimage.feature.harris' from '/Users/maye/Library/Python/2.7/site-packages/skimage-0.4-py2.7-macosx-10.5-i386.egg/skimage/feature/harris.pyc'>
It appears that you're importing skimage 0.4 here. You may need to clean out this older version and try again.