[Numpy-discussion] Impossibility to build nipy on recent numpy?

Gael Varoquaux gael.varoquaux at normalesup.org
Wed Dec 9 16:42:11 EST 2009


On Wed, Dec 09, 2009 at 03:39:56PM -0600, Robert Kern wrote:
> > Where routines.c is a cython-generated file. I suspect that this is due
> > to the recent change in the size of the struct representing numpy arrays.
> > With other projects, it was sufficient to recompile the project to avoid
> > this problem. With nipy it is not. Could that be because the
> > cython-generated C file encodes the size of the numpy array struct, and
> > has been compiled with a different numpy?

> I wouldn't think so (Cython itself doesn't know the size; it should
> rely on using sizeof() in the C code), but it's your file. You tell
> us.

OK, I thought it could be that way. So I must be doing something stupid.
I'll look closer.

Thanks,

Gaël



More information about the NumPy-Discussion mailing list