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


Groups > comp.lang.python > #44064

Re: Ubuntu package "python3" does not include tkinter

References (2 earlier) <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> <26d6d300-9f1b-4640-bbc6-d9c653bb6ad4@ph9g2000pbb.googlegroups.com>
Date 2013-04-22 23:07 +1000
Subject Re: Ubuntu package "python3" does not include tkinter
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.912.1366636513.3114.python-list@python.org> (permalink)

Show all headers | View raw


On Mon, Apr 22, 2013 at 9:18 PM, lcrocker <leedanielcrocker@gmail.com> wrote:
> On Apr 21, 11:36 pm, Rui Maciel <rui.mac...@gmail.com> wrote:
>> Steven D'Aprano wrote:
>> > It's only easy to install a package on Ubuntu if you know that you have
>> > to, and can somehow work out the name of the package.
>>
>> No one actually has to install tkinter.  That's the whole point of providing
>> it as a separate package: only those who want to use it have to install it.
>> The rest of us don't.
>
> I'm a programmer, I installed Tkinter, and use it. I'd like to deploy
> programs
> written with it to others.  **Those** people know nothing about it,
> and
> **shouldn't have to**. I've given them a program in Python, they have
> Python,
> but it doesn't run, and doesn't give them a helpful error. They'll
> probably
> just blame me and move on.  Not every Python user is a programmer.  If
> I write
> a program in Java, any user with Java installed can run it.  As it
> stands,
> that's no true for Python.  That's not good PR for the cause.

If you're deploying only to Debian-based Linuxes (such as the Ubuntu
you mentioned originally), then it may be worth distributing your
program as a .deb file and declaring all the appropriate dependencies
(which would then include python3-tk). Alternatively, just put an
"apt-get install python3-tk" into your install script (which is what I
do for internal deployments - if you need package XYZ for program Foo,
inst-foo will install XYZ), or simply tell people they need to install
it. How do you make sure they even have a Python 3.x? Whatever you do
to ensure that, just add python3-tk to it.

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