[Numpy-discussion] Pyrex and numpy

Evan Lapisky evan.lapisky at gmail.com
Fri Dec 15 09:37:26 EST 2006


> I was just going to try pyrex out with numpy to see how it compares with
> weave (which is cool but quirky). My first attempt ended in failure: I
> tried to compile the demo in in numpy/doc/pyrex and got this error:
>
>    c_numpy.pxd:99:22: Array element cannot be a Python object
>
>
> Does anyone who uses pyrex see this? Does anyone know what it's from?
> Not that I deleted numpyx.c, since otherwise pyrex isn't invoked at all?
>

I had the same problem. I don't know why it didn't work, but the pyrex
example from http://scipy.org/PerformancePython worked just fine.

-Evan



More information about the NumPy-Discussion mailing list