How to installing NumPy?
Christopher Lee
clee at gnwy100.wuh.wustl.edu
Wed Mar 7 08:00:18 EST 2001
>>>>> "Harald" == Harald Rosemann <rosemann at imkt.uni-hannover.de> writes:
Harald> Christopher Lee wrote:
>> >>>>> "Nuzhet" == Nuzhet Dalfes <dalfes at itu.edu.tr> writes:
Harald> Got the error message: .... gcc -O2 -m486 -fpic -IInclude
Harald> -I/usr/include/python2.0 -c Src/_numpymodule.c -o
^^^^^^^^^^^^^^^^^^^^^^^
Harald> build/temp.linux-i686-2.0/Src/_numpymodu Src/_numpymodule.c:1:
Harald> Python.h: No such file or directory error: command 'gcc' failed
Harald> with exit status 1 ....
Harald> In Python-2.0 I found: Python-2.0/Include/Python.h but that
Harald> doesn't seem to work.
It sounds like Suse may not install the headers where python expects, or if
you installed from source, perhaps you didn't do a "make install" ? I
can't tell based upon your description but either way...
I would:
- check to see if the directory /usr/include/python2.0 exists
and create it if it doesn't exist yet
- copy all the files that you found in Python-2.0/Include to
/usr/include/python2.0. This should allow the compiler to find
Python.h using the -I/usr/include/python2.0 flag.
- try "python setup.py install" again
good luck
More information about the Python-list
mailing list