Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #41448 > unrolled thread

Re: [Python 3.3.0] Getting tkinter to work on Python 3

Started byLele Gaifax <lele@metapensiero.it>
First post2013-03-18 19:39 +0100
Last post2013-03-18 18:52 -0700
Articles 4 — 3 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [Python 3.3.0] Getting tkinter to work on Python 3 Lele Gaifax <lele@metapensiero.it> - 2013-03-18 19:39 +0100
    Re: [Python 3.3.0] Getting tkinter to work on Python 3 "Yves S. Garret" <yoursurrogategod@gmail.com> - 2013-03-18 18:52 -0700
      Re: [Python 3.3.0] Getting tkinter to work on Python 3 Terry Reedy <tjreedy@udel.edu> - 2013-03-18 23:39 -0400
    Re: [Python 3.3.0] Getting tkinter to work on Python 3 "Yves S. Garret" <yoursurrogategod@gmail.com> - 2013-03-18 18:52 -0700

#41448 — Re: [Python 3.3.0] Getting tkinter to work on Python 3

FromLele Gaifax <lele@metapensiero.it>
Date2013-03-18 19:39 +0100
SubjectRe: [Python 3.3.0] Getting tkinter to work on Python 3
Message-ID<mailman.3467.1363632015.2939.python-list@python.org>
"Yves S. Garret" <yoursurrogategod@gmail.com> writes:

> I have.  This is what I did and the result that I'm seeing.
>
> $ sudo apt-get install python3-tk

You installed a "custom" python 3.3, didn't you? So it does not help
installing Ubuntu's python3-tk: your python3.3 interpreter won't even
look into "system" packages.

Most probably, you need to install the proper development libraries and
*recompile* the Python 3.3 interpreter:

# apt-get install tk-dev

ciao, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele@metapensiero.it  |                 -- Fortunato Depero, 1929.

[toc] | [next] | [standalone]


#41469

From"Yves S. Garret" <yoursurrogategod@gmail.com>
Date2013-03-18 18:52 -0700
Message-ID<5a9db8f4-c75e-466e-8e06-3e88d6ba93c0@googlegroups.com>
In reply to#41448
On Monday, March 18, 2013 2:39:57 PM UTC-4, Lele Gaifax wrote:
> "Yves S. Garret" <yo....@gmail.com> writes:
> 
> > I have.  This is what I did and the result that I'm seeing.
> >
> > $ sudo apt-get install python3-tk
> 
> You installed a "custom" python 3.3, didn't you? So it does not help
> installing Ubuntu's python3-tk: your python3.3 interpreter won't even
> look into "system" packages.
> 
> Most probably, you need to install the proper development libraries and
> *recompile* the Python 3.3 interpreter:
> 
> # apt-get install tk-dev
> 
> ciao, lele.
> -- 
> nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
> real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
> le..@metapensiero.it  |                 -- Fortunato Depero, 1929.

Ok, it now seems to work.  Weird.  I had tk-dev installed (it seems) and then 
after I re-compiled my interpreter just now, it's working.

Thanks for your help.

[toc] | [prev] | [next] | [standalone]


#41478

FromTerry Reedy <tjreedy@udel.edu>
Date2013-03-18 23:39 -0400
Message-ID<mailman.3487.1363664370.2939.python-list@python.org>
In reply to#41469
On 3/18/2013 9:52 PM, Yves S. Garret wrote:

> Ok, it now seems to work.  Weird.  I had tk-dev installed (it seems)
> and then after I re-compiled my interpreter just now, it's working.

If your previous compilation was before tk-dev was installed, it will 
not have compiled _tkinter properly. On PC, one also has to re-compile 
after doing equivalent of downloading tk-dev.

-- 
Terry Jan Reedy

[toc] | [prev] | [next] | [standalone]


#41471

From"Yves S. Garret" <yoursurrogategod@gmail.com>
Date2013-03-18 18:52 -0700
Message-ID<mailman.3482.1363657944.2939.python-list@python.org>
In reply to#41448
On Monday, March 18, 2013 2:39:57 PM UTC-4, Lele Gaifax wrote:
> "Yves S. Garret" <yo....@gmail.com> writes:
> 
> > I have.  This is what I did and the result that I'm seeing.
> >
> > $ sudo apt-get install python3-tk
> 
> You installed a "custom" python 3.3, didn't you? So it does not help
> installing Ubuntu's python3-tk: your python3.3 interpreter won't even
> look into "system" packages.
> 
> Most probably, you need to install the proper development libraries and
> *recompile* the Python 3.3 interpreter:
> 
> # apt-get install tk-dev
> 
> ciao, lele.
> -- 
> nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
> real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
> le..@metapensiero.it  |                 -- Fortunato Depero, 1929.

Ok, it now seems to work.  Weird.  I had tk-dev installed (it seems) and then 
after I re-compiled my interpreter just now, it's working.

Thanks for your help.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web