problems with cmorph / reconstruction

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

Hi Thomas, On Thu, Apr 25, 2013 at 1:58 PM, thomash <thomas.haslwanter@gmail.com>wrote:
I don't know if this is the correct place to post a bug-message:
This is the right forum. 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":
<snip> ImportError: cannot import name cmorph How did you install scikit-image? Best, -Tony

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@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@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
participants (3)
-
Chintak Sheth
-
thomash
-
Tony Yu