|
From: Michael R. <raw...@ya...> - 2012-09-13 18:06:27
|
Following instructions here: http://matplotlib.org/basemap/users/installing.html Got this error and termination after issuing python setup.py install from the basemap directory. src/_proj.c:4:20: fatal error: Python.h: No such file or directory compilation terminated. error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Isrc -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c src/_proj.c -o build/temp.linux-i686-2.7/src/_proj.o" failed with exit status 1 I'm running a new installation of Ubuntu 12.04. I installed Python and Matplotlib through package manager. Several examples tested fine. I see no Python.h file on my system. Thanks in advance for suggestions. MR |