Re: Fail to import peak_local_max
That did the trick, thanks Juan! G. Le 05/08/2013 12:14, Juan Nunez-Iglesias a écrit :
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 <guillaume@mitotic-machine.org <mailto:guillaume@mitotic-machine.org>> 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 |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
-- 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 <mailto:scikit-image%2Bunsubscribe@googlegroups.com>. For more options, visit https://groups.google.com/groups/opt_out.
-- 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.
participants (1)
-
Guillaume Gay