[Numpy-discussion] Numpy compilation error

Robert Kern robert.kern@gmail....
Fri Apr 16 20:09:57 CDT 2010

On Fri, Apr 16, 2010 at 18:53, Pradeep Jha <jhapk@utias.utoronto.ca> wrote:
> Hi,
> I changed it. I am not getting that error anymore, but I get the following
> error:
> running build
> running build_py
> running build_ext
> building 'Cantera._cantera' extension
> g++ -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386
> -mtune=generic -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -O3 -Wall
> -fPIC -fPIC -I../../build/include -Isrc -I../clib/src
> -I/nfs/carv/d1/people/pradeep/src/numpy-1.3.0//include/python
> -I/usr/include/python2.4 -c src/pycantera.cpp -o
> build/temp.linux-i686-2.4/src/pycantera.o
> src/pycantera.cpp:25:31: error: numpy/arrayobject.h: No such file or
> directory

The error is with Cantera's setup.py, most likely. It is not providing
the correct include path for numpy. Please show it.

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco

More information about the NumPy-Discussion mailing list