[vtkusers] Tkinter not found, fedora core 2 VTK source builds with active state Tcl and python source build

Dr. Daniel James White PhD dan at chalkie.org.uk
Mon Jun 7 11:54:01 EDT 2004


hi All,

My Tkinter in not fount when trying to import ity when launching for 
instance Mayavi.
eg.

[root at modeling root]# mayavi
Traceback (most recent call last):
   File "/usr/local/bin/mayavi", line 279, in ?
     import Tkinter
ImportError: No module named Tkinter
[root at modeling root]# python
Python 2.3.3 (#1, May 26 2004, 19:38:26)
[GCC 3.3.3 20040412 (Red Hat Linux 3.3.3-7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import Tkinter
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File "/usr/local/lib/python2.3/lib-tk/Tkinter.py", line 38, in ?
     import _tkinter # If this fails your Python may not be configured 
for Tk
ImportError: No module named _tkinter
 >>>
[root at modeling root]#
[root at modeling root]#

machine is fedora core 2, with  VTK source builds with active state Tcl 
and python2.3  source build

do I have to tell the python 2.3 configure script some spacial flag to 
get Tkinter?

Tkinter there in fedora core 2 stock python either,

cheers

Dan

Dr. Daniel James White BSc. (Hons.) PhD
Cell Biology
Department of biological and environmental science
PO Box  35
University of Jyväskylä
Jyväskylä FIN 40014
Finland
+358 14 260 4183 (work)
+358 468102840 (new mobile)
NEW PHONE NUMBER!!!

http://www.chalkie.org.uk
dan at chalkie.org.uk
white at cc.jyu.fi



More information about the vtkusers mailing list