With a backend configured to be TkAgg, I get the following error on startup, i.e. on doing ...
$ python Python 2.4.2 (#1, May 2 2006, 08:13:46) [GCC 4.1.0 (SUSE Linux)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from pylab import * Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.4/site-packages/pylab.py", line 1, in ? from matplotlib.pylab import * File "/usr/lib/python2.4/site-packages/matplotlib/pylab.py", line 220, in ? new_figure_manager, draw_if_interactive, show = pylab_setup() File "/usr/lib/python2.4/site-packages/matplotlib/backends/__init__.py", line 23, in pylab_setup globals(),locals(),[backend_name]) File "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_tkagg.py", line 8, in ? import tkagg # Paint image to Tk photo blitter extension File "/usr/lib/python2.4/site-packages/matplotlib/backends/tkagg.py", line 1, in ? import _tkagg ImportError: No module named _tkagg >>> Can anybody tell me what have I forgotten? I have the following RPMs installed agg-2.4-15.3 quagga-0.98.5-17.5 python-matplotlib-0.87.7-0.pm.1 python-qt-3.5.1-19 python-opengl-2.0.1.09-20 python-doc-pdf-2.4.2-16 python-numeric-24.2-14 python-tk-2.4.2-18 python-openssl-0.6-17 libxml2-python-2.6.23-15 python-logilab-common-0.13.0-14 python-cairo-1.0.2-14 pythoncad-DS1_R27-15 python-numpy-1.0.1-0.pm.1 python-2.4.2-18 python-elementtree-1.2.6-18 python-imaging-1.1.5-17 python-idle-2.4.2-18 python-urlgrabber-2.9.7-15 python-gdbm-2.4.2-18 python-pyx-0.8.1-14 python-gtk-2.8.2-21 kdebindings3-python-3.5.1-19 rpm-python-4.4.2-40 subversion-python-1.3.0-20 By the way, I can reset the backend to 'Agg' and do from pylab import * t = arange(10) plot(t, t * t) savefig('example.png') and this works. Thanks - Damian Pacific Engineering Systems International, 277-279 Broadway, Broadway NSW 2007 Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here ! Views and opinions here are mine and not those of any past or present employer ------------------------------------------------------------------------- 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