This (and your other post regarding tifffile.c) are both likely due to an un-built version of scikit-image. We have a large number of routines implemented in Cython for speed; these have to be built before all features in the package will work. Anaconda, Canopy, and other distributions ship compiled versions but if you download from GitHub it must be built.
Our documentation for building the package is located here: http://scikit-image.org/docs/stable/install.html
It looks like your best path forward is building inplace by running `python setup.py build_ext -i` in the scikit-image directory.
On Friday, July 3, 2015 at 9:45:09 AM UTC-5, Saber Ayoub Chelaghma wrote:
Hi, I have a problem when i try to compile a basic example for scikit. I’m using python on Ubuntu :
cannot import name 'generic_cy'
File "/usr/lib/python3/dist-packages/spyderlib/widgets/externalshell/sitecustomize.py", line 586, in runfile execfile(filename, namespace)
File "/usr/lib/python3/dist-packages/spyderlib/widgets/externalshell/sitecustomize.py", line 48, in execfile exec(compile(open(filename, 'rb').read(), filename, 'exec'), namespace)
File "/home/stage/Documents/scikit-image/canny_simple.py", line 1, in
<module> from skimage import data
File "/home/stage/Documents/scikit-image/skimage/data/__init__.py", line 13, in <module> from ._binary_blobs import binary_blobs
File "/home/stage/Documents/scikit-image/skimage/data/_binary_blobs.py", line 2, in <module> from ..filters import gaussian_filter
File "/home/stage/Documents/scikit-image/skimage/filters/__init__.py", line 13, in <module> from . import rank
File "/home/stage/Documents/scikit-image/skimage/filters/rank/__init__.py", line 1, in <module> from .generic import (autolevel, bottomhat, equalize, gradient, maximum, mean,
File "/home/stage/Documents/scikit-image/skimage/filters/rank/generic.py", line 24, in <module> from . import generic_cy