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