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.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.05; 'importerror:': 0.05; 'tkinter': 0.07; 'python': 0.09; '40,': 0.09; 'subject:Getting': 0.09; 'ubuntu.': 0.16; 'have:': 0.17; '>>>': 0.18; 'subject:] ': 0.19; 'module': 0.19; 'skip:" 40': 0.20; 'trying': 0.21; 'import': 0.21; '"",': 0.22; '>>>': 0.22; '(most': 0.27; 'message-id:@mail.gmail.com': 0.27; 'skip:& 10': 0.29; "i'm": 0.29; 'file': 0.32; 'running': 0.32; 'traceback': 0.33; 'problem': 0.33; 'to:addr:python-list': 0.33; 'know.': 0.33; 'skip:& 20': 0.33; 'received:google.com': 0.34; 'subject:[': 0.37; 'well.': 0.37; 'to:addr:python.org': 0.39; 'your': 0.60; 'further': 0.61; 'provide': 0.62; 'basically,': 0.84; 'info,': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=CKoqsUy+yReTUpsns2wK5zWMmJpF7Oil3oBTHGje5Kc=; b=C2fL+0qRJIy8dFz828XxcpZstqkmlrIQlkbOdX7i31gGIe9or4JPUS8CiDc4vTdPSP WpRqxbAnN4HElbhD5nrhEeXrL3ZMaBcgsZ3HEo3mySvDe27seWV5tFKy33WfPoubZ5rG Eep8sk2Hv0NXYLQIA9zUL7m0yrqSwVBoyZIguGxB9CBiiQJpvYqc/3U29Qdm2Gw5sn3w d0Xa9XYLH+iDzTgXSuDbKfDgETJ1K7ZKpE/5HWrCjdYVpXL2npyldzWlnWP4U2nsGwh0 XcfkmkS0FA2JHP9Zg7fjzcoqGEhJ+3Kju+lPvApubFPwqrjqXdAVEfDprjfv89683ALS Ko3g== MIME-Version: 1.0 X-Received: by 10.194.77.129 with SMTP id s1mr26822079wjw.17.1363627050345; Mon, 18 Mar 2013 10:17:30 -0700 (PDT) Date: Mon, 18 Mar 2013 13:17:30 -0400 Subject: [Python 3.3.0] Getting tkinter to work on Python 3 From: "Yves S. Garret" To: python-list@python.org Content-Type: multipart/alternative; boundary=047d7bf0d52ef12d7304d836299a 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: 33 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1363627051 news.xs4all.nl 6958 [2001:888:2000:d::a6]:40488 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:41440 --047d7bf0d52ef12d7304d836299a Content-Type: text/plain; charset=ISO-8859-1 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. --047d7bf0d52ef12d7304d836299a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi.=A0 I'm having a problem trying to get this to work well.=A0 Basical= ly, whenever I try to
import tkinter, this is the issue that I have:
=
>>> import tkinter
Traceback (most recent call last):
= =A0 File "<stdin>", line 1, in <module>
=A0 File "/usr/local/lib/python3.3/tkinter/__init__.py", line 40,= in <module>
=A0=A0=A0 import _tkinter # If this fails your Python= may not be configured for Tk
ImportError: No module named '_tkinter= '

I'm running Ubuntu.=A0 If I need to provide any further info, pleas= e let me know.
--047d7bf0d52ef12d7304d836299a--