[Numpy-discussion] Numpy compilation error
Sun Apr 18 19:49:19 CDT 2010
I am setting NUMPY_INC_DIR to what you said but still am getting the same
there is no directory path like "*******/include/python/***" anywhere in the
installed numpy directory. 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.
2010/4/18 Robert Kern <firstname.lastname@example.org>
> On Sun, Apr 18, 2010 at 13:32, Pradeep Jha <email@example.com>
> > Hi,
> > I am running python 2.4.4. I installed numpy using the command
> > python setup.py install --prefix=$HOME/bin
> That's not a good prefix. --prefix=$HOME would be better. It will
> create, if necessary, bin/ and lib/ underneath that.
> > my site-packages directory got installed to the following address:
> > /nfs/carv/d1/people/pradeep/bin/lib/python2.4
> > in my preconfig file I changed the path to the following as you
> > # If numpy was installed using the --home option, set this to the
> > # home directory for numpy. This will be needed for all numpy
> > # that don't put the include files into python's native include
> > I still get the following warning message when I run the preconfig file:
> > checking for python2... /usr/bin/python2
> > Python command set by configure to /usr/bin/python2
> > WARNING: NUMPY include dir
> > does not exist.
> > setting NUMPY_INC_DIR to
> > Whats going wrong? The warning is right, as there is no directory called
> > python on that address.
> You need to set the variable NUMPY_INC_DIR to
> or the equivalent if you decide to fix the --prefix as above.
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion