[vtkusers] Re: [MayaVi-users] Tkinter not found, fedora core 2 VTK source builds with active state Tcl and python source build
Hans Fangohr
H.FANGOHR at soton.ac.uk
Mon Jun 7 12:58:57 EDT 2004
Hi Dan,
The reason for this could be that your Python has not been build with
Tk support (there is a switch for configure or so).
On a python prompt, can you import Tkinter?
Hans
n Mon, 7 Jun 2004, Dr. Daniel James White PhD wrote:
> 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
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: GNOME Foundation
> Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
> GNOME Users and Developers European Conference, 28-30th June in Norway
> http://2004/guadec.org
> _______________________________________________
> MayaVi-users mailing list
> MayaVi-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mayavi-users
>
>
More information about the vtkusers
mailing list