[Tutor] TKinter and things over Linux

Alberto Troiano albertito_g at hotmail.com
Mon Apr 18 15:24:03 CEST 2005


Hey
Let me know if this format is better (I use Hotmail in the web so...)

Sadly I'm not in the linux machine so I can't run the command you sent me 
but I shall explain the version just so you know

The fullname version is Red Hat Advanced Server 3.0. This is a commercial 
version of Linux
But it has so many problems and so few documentation that I switched to Red 
Hat 9.0 (I think that you're familiar with this version)

I have installed tcl and tk support and I will download and install the 
anthony's RPMs
What can I do to make Tkinter work on Linux Red Hat 9.0??????????

Thanks in advanced

Alberto





Gaucho
>From: Danny Yoo <dyoo at hkn.eecs.berkeley.edu> >To: Alberto Troiano 
><albertito_g at hotmail.com> >CC: Tutor <tutor at python.org> >Subject: Re: 
>[Tutor] TKinter and things over Linux >Date: Mon, 18 Apr 2005 00:04:03 
>-0700 (PDT) > > > >On Sun, 17 Apr 2005, Alberto Troiano wrote: > > > 
>[emvamp.gif] Gaucho > > Hey everyone I have Python 2.3 installed and when I 
>try to import Tkinter > > I get the following error> >>>import Tkinter 
>Traceback (most recent call > > last): File "", 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 I have downloaded the > > 
>Python2.3.tar.bz2 and made this steps to install it ./configure > > 
>--enable-unicode=ucs4 make make install The Linux AS 3.0 has Python 2.2 > > 
>and even this last one doesn-t load Tkinter what can I do????????????/ > > 
>Thanks in advanced Alberto > >Hi Alberto, > >Your email client is doing 
>hideous things to your message. *grin* > >Try seeing if you can switch to 
>plain text, because it's really darn hard >to see what's happening. For 
>information on how to do send plain text >emails, see: > > 
>http://www.expita.com/nomime.html > > >My best guess so far is that the 
>"Tcl/Tk" development support on your >system is spotty: depending on your 
>Linux distribution, you may need to >install additional packages so that 
>Python can find the Tcl/Tk stuff. > >Unfortunately, this is distribution 
>specific, so there's not set way for >us to show how to fix this. I'm 
>guessing that you have some sort of Linux >distribution. Unfortunately, I'm 
>not familiar with Release 3 of any >distribution, so we'll need more 
>information. > >Do you mind doing this for us? Try executing: > >####### 
> >import sys >print sys.plaform >print sys.version >####### > > >Here's 
>what shows up on one of my systems: > >####### > >>> import sys > >>> print 
>sys.platform >darwin > >>> print sys.version >2.3 (#1, Sep 13 2003, 
>00:49:11) >[GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] >####### > 
> >Show us what happens when you execute those commands, and that'll give us 
> >a better idea what Linux distribution you're running. > >Best of wishes 
>to you. > >_______________________________________________ >Tutor maillist 
>- Tutor at python.org >http://mail.python.org/mailman/listinfo/tutor




More information about the Tutor mailing list