From 'python setup.py build':
> src/_ns_backend_gdk.c:17:25: pygtk/pygtk.h: No such file or
> However, ...
> [rshepard@...696... ~]$ locate pygtk.h
> Do I need to add /usr/local/include/pygtk-2.0/ somewhere
> in setup.py?
In your build environment, see if these directories show up with
> pkg-config --cflags-only-I pygtk-2.0
That is what mpl uses to find your pygtk headers. If not, set your
PKG_CONFIG_PATH environment variable accordingly, and make sure there
is a pygtk-2.0.pc file in that directory. On my system it is in
and yours will probably be /usr/local/lib/pkgconfig
It looks like you did a local install of pygtk, but did not update the
pkg-config path to point to it.