Re: [Matplotlib-users] can't import _tkagg

2009-08-06 Thread Graham Mark
Yeow! You're right, and thanks a bunch. I saw the line about libtk not being found, of course, but I thought it was a lie. Or at least a mistake. Thanks again. On Aug 6, 2009, at 10:04 AM, Michael Droettboom wrote: > It appears to be importing _tkagg.so just fine, but it depends on > Tcl

Re: [Matplotlib-users] can't import _tkagg

2009-08-06 Thread Michael Droettboom
It appears to be importing _tkagg.so just fine, but it depends on Tcl/Tk itself, notably libtk8.5.so, which it can not find. You can see what _tkagg.so depends on with ldd, eg.: > ldd ~/usr/lib/python2.5/site-packages/matplotlib/backends/_tkagg.so libtk8.4.so => /usr/lib/libtk8.4.so (0x