>>>>> "Rich" == Rich Shepard <[EMAIL PROTECTED]> writes:

    >> From 'python setup.py build':
    Rich> src/_ns_backend_gdk.c:17:25: pygtk/pygtk.h: No such file or
    Rich> directory

    Rich>    However, ...

    Rich> [EMAIL PROTECTED] ~]$ locate pygtk.h
    Rich> /usr/local/pygtk-2.8.6/gtk/pygtk.h
    Rich> /usr/local/include/pygtk-2.0/pygtk/pygtk.h

    Rich>    Do I need to add /usr/local/include/pygtk-2.0/ somewhere
    Rich> 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 

  /usr/lib/pkgconfig/pygtk-2.0.pc

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.

JDH

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to