problems with cmorph / reconstruction

71 views
Skip to first unread message

thomash

unread,
Apr 25, 2013, 2:58:01 PM4/25/13
to scikit...@googlegroups.com
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

Tony Yu

unread,
Apr 25, 2013, 3:05:43 PM4/25/13
to scikit...@googlegroups.com
Hi Thomas,

On Thu, Apr 25, 2013 at 1:58 PM, thomash <thomas.h...@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 

Chintak Sheth

unread,
Apr 25, 2013, 3:14:33 PM4/25/13
to scikit...@googlegroups.com
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



--
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages