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


Groups > comp.lang.python > #41444

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

References <CAJ=2b07Ji9z4QjPUdn6eEy7cGXeFnLByWKaDwna=7qc=Tb7Aug@mail.gmail.com>
From Ritchie Flick <xenplex@gmail.com>
Date 2013-03-18 19:22 +0100
Subject Re: [Python 3.3.0] Getting tkinter to work on Python 3
Newsgroups comp.lang.python
Message-ID <mailman.3464.1363630988.2939.python-list@python.org> (permalink)

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Seems tkinter is missing in standard installation in ubuntu. Try:
sudo apt-get install python3-tk


On Mon, Mar 18, 2013 at 6:17 PM, Yves S. Garret
<yoursurrogategod@gmail.com>wrote:

> Hi.  I'm having a problem trying to get this to work well.  Basically,
> whenever I try to
> import tkinter, this is the issue that I have:
>
> >>> import tkinter
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/local/lib/python3.3/tkinter/__init__.py", line 40, in <module>
>     import _tkinter # If this fails your Python may not be configured for
> Tk
> ImportError: No module named '_tkinter'
>
> I'm running Ubuntu.  If I need to provide any further info, please let me
> know.
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>


-- 
Ritchie Flick

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: [Python 3.3.0] Getting tkinter to work on Python 3 Ritchie Flick <xenplex@gmail.com> - 2013-03-18 19:22 +0100

csiph-web