Greetings, I have tried installing matplotlib from source, and also from debian packages, and get the same error:

>>> import pylab

No module named pygtk

PyGTK version 1.99.16 or greater is required to run the GTK Matplotlib backends

After sucessfully installing glib and atk using checkinstall, I tried installing pygtk:


.... lots of output...

... ...

checking for GLIB - version >= 2.4.0... yes (version 2.6.3) <--- (so checkinstall works)

checking for atk >= 1.0.0... Package atk was not found in the pkg-config search path.

Perhaps you should add the directory containing `atk.pc' to the PKG_CONFIG_PATH environment variable

No package 'atk' found <--- ?

configure: error: maybe you want the pygtk-2-2 branch?

atk is installed and registered under dpkg -l, and after running updatedb, atk.pc was found in /usr/local/lib/pkgconfig/atk.pc but is not picked up by pkgconfig (same error as above).

I temporarily set PKG_CONFIG_PATH=/usr/local/lib/pkgconfig followed by ./configure and got exactly the same error as above (!*??!@!!!)

pkg-config 0.15.0-4 is registered as a package, but I haven't got a clue what it does or how to use it.

Help, I need to get away from windows!

Any advice?

appreciations in advance

Michael Nandris

Start your day with Yahoo! - make it your home page