Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsreader4.netcologne.de!news.netcologne.de!xlned.com!feeder7.xlned.com!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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; '16,': 0.03; 'importerror:': 0.05; 'installed.': 0.05; 'svn': 0.05; 'python': 0.09; 'imports': 0.09; 'tcl': 0.09; 'tcl/tk': 0.09; 'terry': 0.09; 'looked': 0.10; 'frame,': 0.16; 'helps.': 0.16; 'reedy': 0.16; 'subject:import': 0.16; 'traceback.': 0.16; 'wrote:': 0.17; 'module': 0.19; 'bit': 0.21; 'import': 0.21; 'error.': 0.21; 'button,': 0.22; 'installation': 0.23; "i've": 0.23; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; '(most': 0.27; 'received:10.0.0': 0.28; 'included': 0.29; "i'm": 0.29; 'checked': 0.30; 'code': 0.31; 'file': 0.32; 'running': 0.32; 'traceback': 0.33; 'received:10.0': 0.33; 'to:addr:python- list': 0.33; 'received:google.com': 0.34; 'pm,': 0.35; 'received:209.85': 0.35; 'but': 0.36; 'message-id:@gmail.com': 0.36; 'should': 0.36; 'does': 0.37; 'received:209': 0.37; 'well.': 0.37; 'subject:: ': 0.38; 'received:10': 0.38; 'to:addr:python.org': 0.39; 'skip:" 10': 0.40; 'show': 0.63; 'here': 0.65; 'article': 0.78; '8.4': 0.84; 'have?': 0.84; 'articles,': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=XcIpiaxy4ucqa9kkNEriJ16KUbg7L7rFFAo23PLojXQ=; b=wsGbxNn38+xE23/Sqmg55/JyzNGA7MfpvNsHpGcgex97r7pS93NKw7CZ2WGfQWaa7I GGVuyZj9veDn2pSutkkvb50Qr7lEOA7SkIr/kSgXVMsuXjogGSSkK8IG6lwX0dlkbYI9 lrm8QSSJ9/DgEJVZ1ceOhwczJOY+q9Ki9UIHKdpom1isTMA3zCPs/cQokt5r1pkqkUJI rTColpxVqy8ajKArULHO2IHvo6PTPc4tHuSM8QzWIXdoG0pyb8m4yiWxqMkpyQbeJfE8 HNW/OFc371TG1tscQPja3ny9Ah9YnRh/RTocxo8XAA7xJ3d0A6Xw5CG9HBdJXCnZ6cVZ LPxw== X-Received: by 10.236.124.109 with SMTP id w73mr61297918yhh.5.1357413673478; Sat, 05 Jan 2013 11:21:13 -0800 (PST) Date: Sat, 05 Jan 2013 14:21:32 -0500 From: Verde Denim User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20121215 Iceowl/1.0b1 Icedove/3.0.11 MIME-Version: 1.0 To: python-list@python.org Subject: Re: import of ttk References: <50E7A5EC.9080203@gmail.com> In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1357413681 news.xs4all.nl 6879 [2001:888:2000:d::a6]:39056 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:36201 On 01/04/2013 11:39 PM, Terry Reedy wrote: > On 1/4/2013 11:02 PM, Verde Denim wrote: >> In reading through one of the learning articles, I have a bit of code >> that imports ttk, but I apparently don't have this installed. I've >> looked up the svn checkout for python-tk, and have checked it out >> (read-only), but still get the same error. I'm running 2.6.6 python, if >> that helps. > > Show the line of code that did not work and the traceback. What system > are you running on and what tcl/tk installation does it have? ttk is > included with any 8.5 installation. tile is often included with 8.4 > installations and should be picked up as well. > > The article I'm looking at is here - >> http://www.zetcode.com/gui/tkinter/introduction/ > > The line is - 16 from ttk import Frame, Button, Style $ python tkinter_tut1.py Traceback (most recent call last): File "tkinter_tut1.py", line 16, in from ttk import Frame, Button, Style ImportError: No module named ttk I'm running on Debian Squeeze, and do show both 8.4 and 8.5 of tcl