[Numpy-discussion] C-API support for numarray added to NumPy (original) (raw)

Christopher Hanley chanley at stsci.edu
Thu Jun 22 15:32:40 EDT 2006


You will also need to change the include directories used in compiling by appending the directories returned by numpy.numarray.util.getnumarrayincludedirs()

Hi Travis,

I believe that there is a problem with this function. When executing interactively with numpy version 0.9.9.2660 I get the following result:

Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] Type "copyright", "credits" or "license" for more information.

In [1]: import numpy

In [2]: numpy.version Out[2]: '0.9.9.2660'

In [3]: import numpy.numarray.util as nnu

In [4]: nnu.get_numarray_include_dirs() Out[4]: ['C:\Python24\lib\site-packages\numpy\numarray']

Unfortunately this does not have the appropriate (or any) header files.

Chris



More information about the NumPy-Discussion mailing list