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.

On Mon, Aug 5, 2013 at 7:51 PM, Guillaume Gay <> wrote:

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 gives this:

python /usr/local/src/scikit-image/skimage/feature/tests/
Traceback (most recent call last):
  File "/usr/local/src/scikit-image/skimage/feature/tests/", line 5, in <module>
    from skimage.feature import match_template, peak_local_max
  File "/usr/local/lib/python2.7/dist-packages/scikit_image-0.9dev-py2.7-linux-i686.egg/skimage/feature/", line 9, in <module>
    from .template import match_template
  File "/usr/local/lib/python2.7/dist-packages/scikit_image-0.9dev-py2.7-linux-i686.egg/skimage/feature/", line 4, in <module>
    from . import _template
  File "_template.pyx", line 1, 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?



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
For more options, visit