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
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users