[Numpy-discussion] Numpy compilation error

Pradeep Jha jhapk@utias.utoronto...
Mon Apr 19 09:58:24 CDT 2010


Thank you so much Robert. You are awesome :) That totally the problem.
One more question for you. Which  are the things that you have to declare in
PYTHONPATH manually?

2010/4/18 Robert Kern <robert.kern@gmail.com>

> On Sun, Apr 18, 2010 at 19:49, Pradeep Jha <jhapk@utias.utoronto.ca>
> wrote:
> > Hi,
> >
> > I am setting NUMPY_INC_DIR to what you said but still am getting the same
> > error. Basically,
> > there is no directory path like "*******/include/python/***" anywhere in
> the
> > installed numpy directory.
>
> This is correct. No such directory should exist.
>
> > whatever I am setting in my NUMPY_INC_DIR, the
> > preconfig file tries to add a /include/python to that string and tries to
> > locate that path, but fails.
>
> I am not familiar with the Cantera build process. You will probably
> need to ask the Cantera developers.
>
> You could probably replace the line in setup.py.in (sorry if this is
> not exactly right; I only downloaded the 1.7.0 sources, which still
> uses numarray):
>
>  numpy_incl = "@NUMPY_INC_DIR@"
>
> to:
>
>  import numpy
>  numpy_incl = numpy.get_include()
>
> Then the value of NUMPY_INC_DIR will not matter.
>
> --
> 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
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100419/408715c4/attachment.html 


More information about the NumPy-Discussion mailing list