Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #25307
| From | Peter Otten <__peter__@web.de> |
|---|---|
| Subject | Re: Tkinter.event.widget: handler gets name instead of widget. |
| Date | 2012-07-14 09:47 +0200 |
| Organization | None |
| References | (4 earlier) <89816e26-fc20-4cdc-ba6c-f252231d43ba@f16g2000yqg.googlegroups.com> <1342119234.2313.42.camel@hatchbox-one> <jtoiil$j05$1@dough.gmane.org> <1342211099.2350.68.camel@hatchbox-one> <jtqan0$43k$1@dough.gmane.org> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2111.1342252047.4697.python-list@python.org> (permalink) |
Terry Reedy wrote: > On 7/13/2012 4:24 PM, Frederic Rentsch wrote: >> On Fri, 2012-07-13 at 09:26 +0200, Peter Otten wrote: > >>> Another random idea: run your code on a more recent python/tcl >>> installation. > > That might have been clearer as python + tcl/tk installation. Yes, sorry; I meant that both the python and tcl/tk version matter. You can find out the latter with $ python -c 'import Tkinter as tk; print tk.TclVersion, tk.TkVersion' 8.5 8.5 >> I next spent a day with an attempt to upgrade to Python 2.7.3, >> figuring that that might simultaneously take care of upgrading tcl. > > No, two completely separate actions. > >> ... build finished, but the necessary bits to build these modules were >> not found: >> >> _bsddb >> _curses >> _curses_panel >> _sqlite3 >> _ssl >> _tkinter >> bsddb185 >> bz2 >> dbm >> gdbm >> readline >> sunaudiodev > > I believe _tkinter is the only one of those you need to run idle. > > You need tcl/tk installed/compiled first to compile python with > _tkinter. Easier on *nix than windows. Many *nix systems come with > tcl/tk or easily install it with their package managers (same with some > of the other prerequisites for other modules). If you don't want to compile tcl/tk yourself you need to install the tk-dev package. I recommend that you install libreadline-dev, too -- without readline it is painful to use the interactive interpreter.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: Tkinter.event.widget: handler gets name instead of widget. Terry Reedy <tjreedy@udel.edu> - 2012-07-09 01:58 -0400
Re: Tkinter.event.widget: handler gets name instead of widget. Rick Johnson <rantingrickjohnson@gmail.com> - 2012-07-09 10:49 -0700
Re: Tkinter.event.widget: handler gets name instead of widget. Terry Reedy <tjreedy@udel.edu> - 2012-07-09 15:45 -0400
Re: Tkinter.event.widget: handler gets name instead of widget. Frederic Rentsch <anthra.norell@bluewin.ch> - 2012-07-09 22:47 +0200
Re: Tkinter.event.widget: handler gets name instead of widget. Chris Angelico <rosuav@gmail.com> - 2012-07-10 08:23 +1000
Re: Tkinter.event.widget: handler gets name instead of widget. Frederic Rentsch <anthra.norell@bluewin.ch> - 2012-07-10 12:03 +0200
Re: Tkinter.event.widget: handler gets name instead of widget. Rick Johnson <rantingrickjohnson@gmail.com> - 2012-07-10 15:11 -0700
Re: Tkinter.event.widget: handler gets name instead of widget. Rick Johnson <rantingrickjohnson@gmail.com> - 2012-07-10 18:06 -0700
Re: Tkinter.event.widget: handler gets name instead of widget. Frederic Rentsch <anthra.norell@bluewin.ch> - 2012-07-11 09:59 +0200
Re: Tkinter.event.widget: handler gets name instead of widget. Frederic Rentsch <anthra.norell@bluewin.ch> - 2012-07-12 20:53 +0200
Re: Tkinter.event.widget: handler gets name instead of widget. rantingrickjohnson@gmail.com - 2012-07-14 20:10 -0700
Re: Tkinter.event.widget: handler gets name instead of widget. Frederic Rentsch <anthra.norell@bluewin.ch> - 2012-07-16 12:32 +0200
Re: Tkinter.event.widget: handler gets name instead of widget. rantingrickjohnson@gmail.com - 2012-07-14 20:10 -0700
Re: Tkinter.event.widget: handler gets name instead of widget. Peter Otten <__peter__@web.de> - 2012-07-13 09:26 +0200
Re: Tkinter.event.widget: handler gets name instead of widget. Frederic Rentsch <anthra.norell@bluewin.ch> - 2012-07-13 22:24 +0200
Re: Tkinter.event.widget: handler gets name instead of widget. Terry Reedy <tjreedy@udel.edu> - 2012-07-13 19:23 -0400
Re: Tkinter.event.widget: handler gets name instead of widget. Peter Otten <__peter__@web.de> - 2012-07-14 09:47 +0200
csiph-web