[vtkusers] Problems Installing VTK on Ubuntu 9.10 with Python/TK
David Gobbi
david.gobbi at gmail.com
Mon Dec 21 18:30:19 EST 2009
Hi Amber,
It looks like your python 2.5 was build against tk 8.5. To confirm this, do
ldd /usr/lib/python2.5/lib-dynload/_tkinter.so
If it shows the tk 8.5 libs, that would be surprising, because python
2.5 used tk 8.4 before karmic. If python uses tk 8.5 in karmic, then
the package maintainers have not been doing a good job of maintaining
backwards compatibility.
David
On Mon, Dec 21, 2009 at 3:49 PM, Amber Simpson
<amber.l.simpson at vanderbilt.edu> wrote:
> Hi All,
>
> I'm trying to install VTK on Ubuntu 9.10 (Karmic Koala) with Python
> 2.5 and TCL/TK 8.4. I'm getting this error when I execute
> TestTkRenderWidget.py from the examples:
>
> Traceback (most recent call last):
> File "TestTkRenderWidget.py", line 13, in <module>
> class TestTkRenderWidget(Testing.vtkTest):
> File "TestTkRenderWidget.py", line 20, in TestTkRenderWidget
> root = Tkinter.Tk()
> File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 1652, in __init__
> self._loadtk()
> File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 1672, in _loadtk
> % (_tkinter.TK_VERSION, tk_version)
> RuntimeError: tk.h version (8.5) doesn't match libtk.a version (8.4)
>
> Any suggestions?
>
> Further details on my install follow.
>
> Thanks,
>
> Amber
>
> --
> Amber Simpson
> Postdoctoral Fellow
> Biomedical Modeling Laboratory
> Department of Biomedical Engineering
> Vanderbilt University
More information about the vtkusers
mailing list