problems with cmorph / reconstruction

Chintak Sheth chintaksheth at gmail.com
Thu Apr 25 15:14:33 EDT 2013


Yes, even I ran into this issue. In my case, a simple exit and re-login to
ipython seemed to sort the issue. If that doesn't sort it out then maybe
you haven't yet installed skimage. Try doing so with "python setup.py
install" or "python setup.y build_ext -i"

Thanks,
Chintak


On Fri, Apr 26, 2013 at 12:28 AM, thomash <thomas.haslwanter at gmail.com>wrote:

> I don't know if this is the correct place to post a bug-message:
>
> Using scikit image 0.8.1, with Python 2.7.3 and on a Win64 system, I have
> difficulties with importing "reconstruction". The problems seem to stem
> from "cmorph":
>
>
> from skimage.morphology import reconstruction
> ---------------------------------------------------------------------------
> ImportError                               Traceback (most recent call last)
> <ipython-input-1-5fc8bff47c48> in <module>()
> ----> 1 from skimage.morphology import reconstruction
>
> C:\Python27\lib\site-packages\skimage\morphology\__init__.py in <module>()
>       1 from .binary import (binary_erosion, binary_dilation,
> binary_opening,
>       2                      binary_closing)
> ----> 3 from .grey import *
>       4 from .selem import *
>       5 from .ccomp import label
>
> C:\Python27\lib\site-packages\skimage\morphology\grey.py in <module>()
>       2 from skimage import img_as_ubyte
>       3
> ----> 4 from . import cmorph
>       5
>       6
>
> ImportError: cannot import name cmorph
>
> --
> 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+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20130426/2308a201/attachment.html>


More information about the scikit-image mailing list