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:File "C:/Users/DK/PProjects/skimage_seg/scikit_seg.py", line 3, in <module>
Traceback (most recent call last):
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
import skimageprint skimage.__version__print skimage.__file__
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,
DanHi 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