MantisBT - VTK
View Issue Details
0014517VTK(No Category)public2014-01-15 15:252014-10-02 11:30
diego0020 
Berk Geveci 
normalminorhave not tried
closedwon't fix 
6.1.0 
 
Kitware
feature
0014517: the vtkpython interpreter fails when importing Tkinter with the following error vtk version 6.1.0 Python 2.7.3 (default, Jan 14
the vtkpython interpreter fails when importing Tkinter with the following error

vtk version 6.1.0
Python 2.7.3 (default, Jan 14 2014, 23:09:58) [MSC v.1500 64 bit (AMD64)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> import Tkinter as tk
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Program Files\VTK 6.1.0-RC2\bin\lib\lib-tk\Tkinter.py", line 39, in <
module>
    import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter

This means that the tcl/tk-vtk interface can't be used.

No tags attached.
Issue History
2014-01-15 15:25diego0020New Issue
2014-01-15 15:33Dave DeMarleTypeincorrect functionality => feature
2014-01-15 15:33Dave DeMarleNote Added: 0032179
2014-01-15 15:33Dave DeMarleProduct Version6.0.0 => 6.1.0
2014-09-16 08:50Goodwin LawlorNote Added: 0033346
2014-10-02 11:30Berk GeveciNote Added: 0033468
2014-10-02 11:30Berk GeveciStatusbacklog => closed
2014-10-02 11:30Berk GeveciAssigned To => Berk Geveci
2014-10-02 11:30Berk GeveciResolutionopen => won't fix

Notes
(0032179)
Dave DeMarle   
2014-01-15 15:33   
With a from source build it works but not from the vtkpython binaries.
Reason is that we don't package Tk with the vtkpython binary.

(0033346)
Goodwin Lawlor   
2014-09-16 08:50   
Also reported here: http://www.vtk.org/pipermail/vtkusers/2014-September/085091.html [^]
(0033468)
Berk Geveci   
2014-10-02 11:30   
We don't support Tkinter in our binaries currently. Nor do we have plans at this point. I'd recommend requesting this here: http://vtk.uservoice.com/forums/31508-general [^] if you are really interested in it.