Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.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.023 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'subject:not': 0.03; '"this': 0.03; 'cpython': 0.05; 'working:': 0.09; 'windows': 0.15; 'displaying': 0.16; 'for,': 0.16; 'optional': 0.16; 'subject:python3': 0.16; 'wrote:': 0.18; 'variable': 0.18; 'work,': 0.20; 'install': 0.23; 'header:User-Agent:1': 0.23; 'error': 0.23; '"you': 0.24; 'environment': 0.24; 'header:In- Reply-To:1': 0.27; 'function': 0.29; 'feature': 0.29; 'bigger': 0.30; "d'aprano": 0.31; 'minor': 0.31; 'steven': 0.31; 'skip:_ 10': 0.34; 'could': 0.34; 'problem': 0.35; 'display': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'explains': 0.36; 'message-id:@gmail.com': 0.38; 'manager': 0.38; 'to:addr:python-list': 0.38; 'subject:" ': 0.39; 'to:addr:python.org': 0.39; 'entire': 0.61; 'show': 0.63; 'name': 0.63; 'different': 0.65; '3.3.1': 0.84; '9.1': 0.84; 'fail.': 0.84; 'freebsd': 0.84; 'hundred': 0.95 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=TxGbwp5MLpeWq4OhQkruWGs3qd2soqZWt/QsjFCyVHk=; b=jzoW41wdZrF6SdKCpUI7ebEKN8+bP4d3zdjngo20lh6V/ZGbRXSXFofVS0W3rihVsS sK8wS0HTYUPzX19e+9UWBmz25+Bqttgm4SSip70qlcuRVWORmWVn6yxR8kcr2pFFPuej uxtVU2ZaoCZKtwhNTQONLGm5PHz4uNa8l/VeQI8dZz0cIKUF4qr0evcjeK0yg7UAyGVu 701VIiC7vk2yFcLceVwNlir6wOZV2sH5+U5QCNmFfL4/7QHDrBWuIdvonmoG7sEIVJBr Jtc59HmAomgAtCT/sj8FAB9oNF9vWUk2DUdHYLNZN6Tf+t7HOml+WSipC1QCdywJC9eX xqSA== X-Received: by 10.42.133.74 with SMTP id g10mr14227311ict.32.1366678045730; Mon, 22 Apr 2013 17:47:25 -0700 (PDT) Date: Mon, 22 Apr 2013 19:47:26 -0500 From: Andrew Berg User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: "comp.lang.python" Subject: Re: Ubuntu package "python3" does not include tkinter References: <9ba1d90b-1a69-4e5a-8a9e-574009b0bdf3@fs2g2000pbd.googlegroups.com> <5174b515$0$29872$c3e8da3$5496439d@news.astraweb.com> <5174e407$0$29872$c3e8da3$5496439d@news.astraweb.com> <5175005f$0$29872$c3e8da3$5496439d@news.astraweb.com> <5175d450$0$29977$c3e8da3$5496439d@news.astraweb.com> In-Reply-To: <5175d450$0$29977$c3e8da3$5496439d@news.astraweb.com> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1366678054 news.xs4all.nl 2179 [2001:888:2000:d::a6]:39398 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:44129 On 2013.04.22 19:22, Steven D'Aprano wrote: > It's only when I actually try to do something that requires an X display > that it will fail. I won't show the entire traceback, because it is long > and not particularly enlightening, but the final error message explains > exactly why it isn't working: > > _tkinter.TclError: no display name and no $DISPLAY environment variable So you want to go from "this won't work because it's not installed" to "this won't work, and it there could be a hundred different reasons why"? tkinter's main function is to display something on a display. To say that displaying something is an optional feature is absurd. "You can install this, but your package manager won't pull in any dependencies because a few minor things will work without them. If you want it to actually do what it was made for, you need to install them yourself." Much bigger problem than the OP's, no? -- CPython 3.3.1 | Windows NT 6.2.9200 / FreeBSD 9.1