Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #44140

Re: Ubuntu package "python3" does not include tkinter

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 <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.025
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'subject:not': 0.03; 'tkinter': 0.07; 'dependency': 0.09; 'working:': 0.09; '23,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'retry': 0.16; 'ssh': 0.16; 'subject:python3': 0.16; 'sure.': 0.16; 'tk.': 0.16; 'wrote:': 0.18; 'variable': 0.18; '>>>': 0.22; 'import': 0.22; 'install': 0.23; 'error': 0.23; 'looks': 0.24; 'environment': 0.24; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'skip:_ 10': 0.34; 'display': 0.35; 'received:209.85': 0.35; 'problem.': 0.35; 'received:209.85.220': 0.35; 'something': 0.35; 'test': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'explains': 0.36; "didn't": 0.36; 'useful': 0.36; 'possible': 0.36; 'received:209': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'subject:" ': 0.39; 'to:addr:python.org': 0.39; 'even': 0.60; 'entire': 0.61; "you're": 0.61; 'show': 0.63; 'name': 0.63; 'real': 0.63; 'situation': 0.65; 'fail.': 0.84; 'presumably': 0.84; 'hand,': 0.93; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=SkTSwUPsJMhd2hg12bEt0EoMZG/GHRiDstXH9/KYGsM=; b=n9rY62iZrLk9Vbl4zygFLe8u7oDjtd1/xYs5AbbrIvHn9m+Wpw2HgcftmxMJgIRR1/ Jw36hXn9VzctwQLR0+cxpJeYp08ehnD9rImklCvE/8VyL0VRLH4/Fg3wGJ0OurbKY54c gGtj/3edQWZQ9YSPJhRKVzpw4gJa9NNtqeRAKfn7EdLY5FrpP8w/+b6YAFL29JmkwvpS yGg1hW36ge5rIncMLOSA7i6pgcG71uAjTp/TqNSfEaqovf1vk3j4Z5zQzmGVLDrYi1sT mEKvpgeZCzcZmgS9s/hDeTL+NEOgHPLllkUISjgL/tt0wzGwPjMherq88uDP6EW9KBw+ MSUg==
MIME-Version 1.0
X-Received by 10.52.97.8 with SMTP id dw8mr18195482vdb.91.1366690305267; Mon, 22 Apr 2013 21:11:45 -0700 (PDT)
In-Reply-To <51760802$0$29872$c3e8da3$5496439d@news.astraweb.com>
References <e5aa7cad-9fa0-41af-a3a4-fce212b15ab9@l5g2000pbp.googlegroups.com> <mailman.832.1366392951.3114.python-list@python.org> <9ba1d90b-1a69-4e5a-8a9e-574009b0bdf3@fs2g2000pbd.googlegroups.com> <mailman.854.1366474272.3114.python-list@python.org> <5174b515$0$29872$c3e8da3$5496439d@news.astraweb.com> <kl2lk9$qnv$2@dont-email.me> <5174e407$0$29872$c3e8da3$5496439d@news.astraweb.com> <mailman.900.1366618110.3114.python-list@python.org> <5175005f$0$29872$c3e8da3$5496439d@news.astraweb.com> <mailman.908.1366635188.3114.python-list@python.org> <5175d450$0$29977$c3e8da3$5496439d@news.astraweb.com> <mailman.942.1366677401.3114.python-list@python.org> <51760802$0$29872$c3e8da3$5496439d@news.astraweb.com>
Date Tue, 23 Apr 2013 14:11:45 +1000
Subject Re: Ubuntu package "python3" does not include tkinter
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
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.950.1366690307.3114.python-list@python.org> (permalink)
Lines 28
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1366690307 news.xs4all.nl 2212 [2001:888:2000:d::a6]:33646
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:44140

Show key headers only | View raw


On Tue, Apr 23, 2013 at 2:03 PM, Steven D'Aprano
<steve+comp.lang.python@pearwood.info> wrote:
> On Tue, 23 Apr 2013 10:36:38 +1000, Chris Angelico wrote:
>
>> On Tue, Apr 23, 2013 at 10:22 AM, Steven D'Aprano
>> <steve+comp.lang.python@pearwood.info> 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
>>
>> You presumably have a system to test this on. Can you try using ssh -X
>> to get to it, and then retry that action? It looks like you actually
>> have everything you need, just no display... which is exactly what you'd
>> get if you ssh to something that has a real GUI. Not a dependency
>> problem.
>
> I didn't say it was a dependency problem. I'm just demonstrating that it
> is possible for tkinter code to fail even if all the dependencies are
> met; and on the other hand, it is useful to be able to import tkinter
> even if you cannot display any tkinter windows.

Sure. But I don't know that the situation you're seeing is the same as
the one you'd see if you install tkinter without tk.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Ubuntu package "python3" does not include tkinter lcrocker <lee@piclab.com> - 2013-04-19 10:17 -0700
  Re: Ubuntu package "python3" does not include tkinter Joel Goldstick <joel.goldstick@gmail.com> - 2013-04-19 13:25 -0400
    Re: Ubuntu package "python3" does not include tkinter lcrocker <leedanielcrocker@gmail.com> - 2013-04-19 10:30 -0700
  Re: Ubuntu package "python3" does not include tkinter Andrew Berg <bahamutzero8825@gmail.com> - 2013-04-19 12:35 -0500
    Re: Ubuntu package "python3" does not include tkinter lcrocker <leedanielcrocker@gmail.com> - 2013-04-19 10:42 -0700
      Re: Ubuntu package "python3" does not include tkinter rusi <rustompmody@gmail.com> - 2013-04-19 10:53 -0700
      Re: Ubuntu package "python3" does not include tkinter Andrew Berg <bahamutzero8825@gmail.com> - 2013-04-19 13:05 -0500
      Re: Ubuntu package "python3" does not include tkinter Sibylle Koczian <nulla.epistola@web.de> - 2013-04-20 18:10 +0200
        Re: Ubuntu package "python3" does not include tkinter Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-22 03:57 +0000
          Re: Ubuntu package "python3" does not include tkinter rusi <rustompmody@gmail.com> - 2013-04-21 21:10 -0700
          Re: Ubuntu package "python3" does not include tkinter Andrew Berg <bahamutzero8825@gmail.com> - 2013-04-21 23:24 -0500
            Re: Ubuntu package "python3" does not include tkinter rusi <rustompmody@gmail.com> - 2013-04-21 21:34 -0700
              Re: Ubuntu package "python3" does not include tkinter Andrew Berg <bahamutzero8825@gmail.com> - 2013-04-22 00:13 -0500
          Re: Ubuntu package "python3" does not include tkinter Rui Maciel <rui.maciel@gmail.com> - 2013-04-22 07:36 +0100
            Re: Ubuntu package "python3" does not include tkinter Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-22 07:17 +0000
              Re: Ubuntu package "python3" does not include tkinter Andrew Berg <bahamutzero8825@gmail.com> - 2013-04-22 03:08 -0500
                Re: Ubuntu package "python3" does not include tkinter Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-22 09:18 +0000
                Re: Ubuntu package "python3" does not include tkinter Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-04-22 14:52 +0200
                Re: Ubuntu package "python3" does not include tkinter Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-23 00:22 +0000
                Re: Ubuntu package "python3" does not include tkinter Chris Angelico <rosuav@gmail.com> - 2013-04-23 10:36 +1000
                Re: Ubuntu package "python3" does not include tkinter Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-23 04:03 +0000
                Re: Ubuntu package "python3" does not include tkinter Chris Angelico <rosuav@gmail.com> - 2013-04-23 14:11 +1000
                Re: Ubuntu package "python3" does not include tkinter Andrew Berg <bahamutzero8825@gmail.com> - 2013-04-22 19:47 -0500
                Re: Ubuntu package "python3" does not include tkinter Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-23 05:49 +0000
                Re: Ubuntu package "python3" does not include tkinter Andrew Berg <bahamutzero8825@gmail.com> - 2013-04-23 02:33 -0500
                Re: Ubuntu package "python3" does not include tkinter rusi <rustompmody@gmail.com> - 2013-04-22 20:50 -0700
                Re: Ubuntu package "python3" does not include tkinter Rui Maciel <rui.maciel@gmail.com> - 2013-04-23 07:57 +0100
              Re: Ubuntu package "python3" does not include tkinter Rui Maciel <rui.maciel@gmail.com> - 2013-04-22 22:09 +0100
                Re: Ubuntu package "python3" does not include tkinter Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-22 23:30 +0000
                Re: Ubuntu package "python3" does not include tkinter Rui Maciel <rui.maciel@gmail.com> - 2013-04-23 07:44 +0100
                Re: Ubuntu package "python3" does not include tkinter rusi <rustompmody@gmail.com> - 2013-04-23 05:01 -0700
              Re: Ubuntu package "python3" does not include tkinter Bob Martin <bob.martin@excite.com> - 2013-04-23 07:33 +0100
                Re: Ubuntu package "python3" does not include tkinter Chris Angelico <rosuav@gmail.com> - 2013-04-23 16:41 +1000
                Re: Ubuntu package "python3" does not include tkinter Rui Maciel <rui.maciel@gmail.com> - 2013-04-23 07:48 +0100
                Re: Ubuntu package "python3" does not include tkinter Chris Angelico <rosuav@gmail.com> - 2013-04-23 17:34 +1000
            Re: Ubuntu package "python3" does not include tkinter lcrocker <leedanielcrocker@gmail.com> - 2013-04-22 04:18 -0700
              Re: Ubuntu package "python3" does not include tkinter rusi <rustompmody@gmail.com> - 2013-04-22 05:08 -0700
              Re: Ubuntu package "python3" does not include tkinter Chris Angelico <rosuav@gmail.com> - 2013-04-22 23:07 +1000
              Re: Ubuntu package "python3" does not include tkinter Rui Maciel <rui.maciel@gmail.com> - 2013-04-22 22:00 +0100
      Re: Ubuntu package "python3" does not include tkinter Rui Maciel <rui.maciel@gmail.com> - 2013-04-22 07:35 +0100
        Re: Ubuntu package "python3" does not include tkinter rusi <rustompmody@gmail.com> - 2013-04-22 04:16 -0700
  Re: Ubuntu package "python3" does not include tkinter Peter Otten <__peter__@web.de> - 2013-04-19 19:53 +0200
  Re: Ubuntu package "python3" does not include tkinter Terry Jan Reedy <tjreedy@udel.edu> - 2013-04-19 14:42 -0400
  Re: Ubuntu package "python3" does not include tkinter Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-04-20 00:05 +0000

csiph-web