Hi,
The output:
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> import skimage
>>> print skimage.__version__
0.7.2
>>> print skimage.__file__
C:\Python27\lib\site-packages\skimage\__init__.pyc
>>>
Thanks
El domingo, 16 de diciembre de 2012 09:41:35 UTC-5, Tony S Yu escribió:
On Sat, Dec 15, 2012 at 6:45 PM, Dan <dk...@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/
Traceback (most recent call last):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?.
ThanksHi Dan,How did you install scikit-image? Also, what's the output of the following?import skimageprint 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,
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