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: 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>': 0.20; 'skip:" 40': 0.20; 'trying': 0.21; 'import': 0.21; '"",': 0.22; '>>>': 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: References: From: Ritchie Flick 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" 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 --000e0ce0058a3e6a1604d8371487 Content-Type: text/plain; charset=UTF-8 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 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 "", line 1, in > File "/usr/local/lib/python3.3/tkinter/__init__.py", line 40, in > 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 --000e0ce0058a3e6a1604d8371487 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Seems tkinter is missing in standard installation in ubunt= u. Try:
sudo apt-get install python3-tk
<= br>
On Mon, Mar 18, 2013 at 6:17 PM, Yves S. = Garret <yoursurrogategod@gmail.com> wrote:
Hi.=C2=A0 I'm having a problem trying to= get this to work well.=C2=A0 Basically, whenever I try to
import tkinte= r, this is the issue that I have:

>>> import tkinter
Traceback (most recent call last):
= =C2=A0 File "<stdin>", line 1, in <module>
=C2=A0 File "/usr/local/lib/python3.3/tkinter/__init__.py", line = 40, in <module>
=C2=A0=C2=A0=C2=A0 import _tkinter # If this fails= your Python may not be configured for Tk
ImportError: No module named &= #39;_tkinter'

I'm running Ubuntu.=C2=A0 If I need to provide any further info, pl= ease let me know.

--
http://mail.python.org/mailman/listinfo/python-list




--
Ritchie = Flick
--000e0ce0058a3e6a1604d8371487--