>>>>> "Adam" == Adam Miller <[EMAIL PROTECTED]> writes:
Adam> Hi, It is correct that the machine I'm building on does not Adam> have X11 running, though it is installed. I can, however, Adam> enter python and import gtk without error. Adam> [EMAIL PROTECTED] examples]# python Python 2.4.1 (#1, May 16 Adam> 2005, 15:15:14) [GCC 4.0.0 20050512 (Red Hat 4.0.0-5)] on Adam> linux2 Type "help", "copyright", "credits" or "license" for Adam> more information. >>>> import gtk >>>> Adam> [EMAIL PROTECTED] examples]# Hmm... something is fish, because the error message you printed in your first message is triggered only by an attempt to import gtk. Look in setup.py: here is what is happening if BUILD_GTK: try: import gtk except ImportError: print 'GTK requires pygtk' BUILD_GTK = 0 except RuntimeError: print 'pygtk present but import failed' I submit that something is different in your build environment in which you triggered the original message and the one you are testing in now. 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