Fail to import peak_local_max
Guillaume Gay
guillaume at mitotic-machine.org
Mon Aug 5 05:51:46 EDT 2013
Hi every one,
I encountered a bug when importing |peak_local_max| (with the latest
github version). The traceback goes up to feature.template. Running
|test_template.py| gives this:
|python /usr/local/src/scikit-image/skimage/feature/tests/test_template.py
Traceback (most recent call last):
File"/usr/local/src/scikit-image/skimage/feature/tests/test_template.py", line5,in <module>
from skimage.featureimport match_template, peak_local_max
File"/usr/local/lib/python2.7/dist-packages/scikit_image-0.9dev-py2.7-linux-i686.egg/skimage/feature/__init__.py", line9,in <module>
from .templateimport match_template
File"/usr/local/lib/python2.7/dist-packages/scikit_image-0.9dev-py2.7-linux-i686.egg/skimage/feature/template.py", line4,in <module>
from .import _template
File"_template.pyx", line1,in init skimage.feature._template (skimage/feature/_template.c:4042)
TypeError: C function skimage._shared.transform.integrate has wrong signature (expected float (PyArrayObject *, Py_ssize_t, Py_ssize_t, Py_ssize_t, Py_ssize_t), got float (__Pyx_memviewslice, Py_ssize_t, Py_ssize_t, Py_ssize_t, Py_ssize_t))|
Any hint how to fix this?
Cheers,
Guillaume
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20130805/516d5756/attachment.html>
More information about the scikit-image
mailing list