[Numpy-discussion] C extension compiling question

Henry Gomersall whg21@cam.ac...
Fri Oct 29 08:45:59 CDT 2010


On Fri, 2010-10-29 at 15:33 +0200, Jon Wright wrote:
> 
> You need to call import_array() in initspam. See:
> http://docs.scipy.org/doc/numpy-1.5.x/user/c-info.how-to-extend.html 

Thanks, that solves it.
        
It would be really useful to have a complete example somewhere. As in, a
set of files for a minimum example that builds and runs.

Thanks,

Henry



More information about the NumPy-Discussion mailing list