On Sat, Dec 15, 2012 at 6:45 PM, Dan <dkin@walla.co.il> wrote:
Hi,

Thanks for the rapid respnse, I am using 0.7.2 on windows.

The error is now:

 Traceback (most recent call last):
  File "C:/Users/DK/PProjects/skimage_seg/scikit_seg.py", line 3, in <module>
    import skimage.morphology as morph
  File "C:\Python27\lib\site-packages\skimage\morphology\__init__.py", line 7, in <module>
    from ._skeletonize import skeletonize, medial_axis
ImportError: cannot import name skeletonize

Any idea why?.

Thanks


Hi Dan,

How did you install scikit-image? Also, what's the output of the following?

import skimage
print skimage.__version__
print skimage.__file__

-Tony



El sábado, 15 de diciembre de 2012 16:24:31 UTC-5, Tony S Yu escribió:
On Sat, Dec 15, 2012 at 1:58 PM, Dan <dk...@walla.co.il> wrote:
Dear Tony,

Thanks for the script.

I was running the script and I got this error:
Traceback (most recent call last):
  File "C:/Users/DK/PProjects/skimage_seg/scikit_seg.py", line 18, in <module>
    img_background = morph.reconstruction(img-h, img)
AttributeError: 'module' object has no attribute 'reconstruction'

Process finished with exit code 1

Any reason why?

Thanks a lot,
Dan

Hi Dan,

Which version of scikit-image are you running? You'll need at least 0.7 (the latest stable release). You can check the version with the following shell command:

    $ python -c "import skimage; print skimage.__version__"

-Tony