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

Path csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <xenplex@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:: [': 0.03; 'subject:Python': 0.05; 'importerror:': 0.05; 'tkinter': 0.07; 'try:': 0.07; 'python': 0.09; '40,': 0.09; 'subject:Getting': 0.09; 'cc:addr:python-list': 0.10; 'sudo': 0.16; 'ubuntu.': 0.16; 'mon,': 0.16; 'wrote:': 0.17; 'have:': 0.17; '>>>': 0.18; 'subject:] ': 0.19; 'module': 0.19; 'email addr:gmail.com&gt;': 0.20; 'skip:" 40': 0.20; 'trying': 0.21; 'import': 0.21; '"",': 0.22; '&gt;&gt;&gt;': 0.22; 'installation': 0.23; 'cc:2**0': 0.23; 'seems': 0.23; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; '(most': 0.27; 'message- id:@mail.gmail.com': 0.27; 'url:mailman': 0.29; 'skip:& 10': 0.29; "i'm": 0.29; 'install': 0.29; 'url:python': 0.32; 'file': 0.32; 'running': 0.32; 'url:listinfo': 0.32; 'traceback': 0.33; 'problem': 0.33; 'know.': 0.33; 'skip:& 20': 0.33; 'received:google.com': 0.34; 'pm,': 0.35; 'url:org': 0.36; 'well.': 0.37; 'url:mail': 0.40; 'your': 0.60; 'further': 0.61; 'provide': 0.62; '2013': 0.84; 'apt-get': 0.84; 'basically,': 0.84; 'info,': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=nf1t8G0Zqsk/mkzAL/Cf7/z3wwDQ/vXirF/de12HXJA=; b=DOLEmL+GeidyEzojN7YWmfN7XyLfKocUDwQV73B5ehA809VFjYI1TpnHfZfjTO/M3v 0I7wKes+tRbsgtFtCC7lswVwIvWaHiIKXipZT2oWNmQqMU08ZZOrMSO9dVCOL5Rxo85N CC00WEl+FU8rH02on7Kz03g72/HwIzqqZFSPl/9CgmWkeNtyb3ptlYuF1QgIH7G50uq8 1MY20huIItZSMV3qNQmENaTRoup0uZ9hosZFP4+KpR8Xxt7f1qfktBIy7wpB4TDGJoqE bFWFNtGnT12pdGiKeV0ITMdfGNoyNOUSbCNeSiGa0H7bccuHiZORchyCa7uIpcJ+T3tJ Zc/Q==
X-Received by 10.205.137.138 with SMTP id io10mr7425529bkc.4.1363630981262; Mon, 18 Mar 2013 11:23:01 -0700 (PDT)
MIME-Version 1.0
In-Reply-To <CAJ=2b07Ji9z4QjPUdn6eEy7cGXeFnLByWKaDwna=7qc=Tb7Aug@mail.gmail.com>
References <CAJ=2b07Ji9z4QjPUdn6eEy7cGXeFnLByWKaDwna=7qc=Tb7Aug@mail.gmail.com>
From Ritchie Flick <xenplex@gmail.com>
Date Mon, 18 Mar 2013 19:22:41 +0100
Subject Re: [Python 3.3.0] Getting tkinter to work on Python 3
To "Yves S. Garret" <yoursurrogategod@gmail.com>
Content-Type multipart/alternative; boundary=000e0ce0058a3e6a1604d8371487
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3464.1363630988.2939.python-list@python.org> (permalink)
Lines 67
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1363630988 news.xs4all.nl 6938 [2001:888:2000:d::a6]:39953
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:41444

Show key headers only | 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