[Cython] Cython and Numpy
Cristi Constantin
darkgl0w at yahoo.com
Tue Jun 16 14:06:38 CEST 2009
Good day.
You need to copy all .c files from your numpy installation (on windows it's "C:\Python25\Lib\site-packages\numpy\core\include\numpy\") into MingW\Include\numpy.
gcc can't find your arrayobject.h in python directory.
Have a nice day.
--- On Mon, 6/15/09, Daniel Yarlett <daniel.yarlett at gmail.com> wrote:
It looks like arrayobject.h is not being found, so do I need to modify
my setup.py file somehow? I'm afraid I'm not sure how to do this, so
any help would be greatly appreciated.
When I search for arrayobject.h it can be found in the following
places, amongst others, on my system:
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
> packages/numpy/core/include/numpy/arrayobject.h
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-
> packages/numpy-1.3.0.dev6308-py2.5-macosx-10.3-i386.egg/numpy/core/
> include/numpy/arrayobject.h
> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-
> packages/numpy/core/include/numpy/arrayobject.h
> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-
> packages/numpy-1.3.0.dev6308-py2.5-macosx-10.3-i386.egg/numpy/core/
> include/numpy/arrayobject.h
> /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-
> packages/numpy-1.4.0.dev6728-py2.5-macosx-10.3-i386.egg/numpy/core/
> include/numpy/arrayobject.h
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codespeak.net/pipermail/cython-dev/attachments/20090616/86965c96/attachment.htm
More information about the Cython-dev
mailing list