[Numpy-discussion] Pyrex and numpy

Tim Hochberg tim.hochberg at ieee.org
Fri Dec 15 11:05:05 EST 2006


Evan Lapisky wrote:
>> 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.
>
>   
Hmmm. Thanks. I'll give it a try.

-tim






More information about the NumPy-Discussion mailing list