Hi, Quoting Juan Nunez-Iglesias reply to a similar issue I encountered last month: This sort of stuff keeps popping up (see latest issues) because a lot of functions have moved to use memory views. If you do a `make clean` and then try again, it should work. So you need to install skimage again after having issued a `make clean` on your source directory... Guillaume Le 27/08/2013 12:22, Payal Gupta a écrit :
hello.... i have same problem please someone solve this problem... how i import scikit image library ??
On Thursday, November 29, 2012 10:31:19 PM UTC+5:30, Marianne Corvellec wrote:
Dear skimage people,
I am having an Import Error when I try to import feature, namely:
In [28]: from skimage import feature --------------------------------------------------------------------------- ImportError Traceback (most recent call last)
/home/[...]/<ipython console> in <module>()
/home/[...]/skimage/feature/__init__.py in <module>() 1 from ._hog import hog 2 from .texture import greycomatrix, greycoprops, local_binary_pattern 3 from .peak import peak_local_max 4 from ._harris import harris ----> 5 from .template import match_template
/home/[...]/skimage/feature/template.py in <module>() 2 """ 3 import numpy as np ----> 4 from . import _template 5 6
ImportError: cannot import name _template
I saw that the function `match_template` is defined in both template.py and _template.pyx: isn't that wrong--and/or related to the import error?
I am running this version: In [27]: skimage.__version__ Out[27]: '0.7dev'
How do you guys import feature?
Thanks, Marianne
-- 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.