From unknown Sat Aug 09 04:58:54 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#37775 <37775@debbugs.gnu.org> To: bug#37775 <37775@debbugs.gnu.org> Subject: Status: Python 2.7 not configured for Tk Reply-To: bug#37775 <37775@debbugs.gnu.org> Date: Sat, 09 Aug 2025 11:58:54 +0000 retitle 37775 Python 2.7 not configured for Tk reassign 37775 guix submitter 37775 Brian Leung severity 37775 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 16 03:39:17 2019 Received: (at submit) by debbugs.gnu.org; 16 Oct 2019 07:39:17 +0000 Received: from localhost ([127.0.0.1]:45150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKdtt-0006Q4-1i for submit@debbugs.gnu.org; Wed, 16 Oct 2019 03:39:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:57964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKdtr-0006Pw-IX for submit@debbugs.gnu.org; Wed, 16 Oct 2019 03:39:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39102) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iKdtq-0002dn-Co for bug-guix@gnu.org; Wed, 16 Oct 2019 03:39:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iKdtp-0000nA-DE for bug-guix@gnu.org; Wed, 16 Oct 2019 03:39:14 -0400 Received: from mail-qt1-x82a.google.com ([2607:f8b0:4864:20::82a]:40392) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iKdtp-0000mt-6o for bug-guix@gnu.org; Wed, 16 Oct 2019 03:39:13 -0400 Received: by mail-qt1-x82a.google.com with SMTP id m61so34711448qte.7 for ; Wed, 16 Oct 2019 00:39:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=s5uNrhU9JtwgNpX0HpgTHibPi/Nmjww6UFf3Nv3zWn0=; b=KSuufvvbQxKGLDGc+OKcSTPSHeC6CCDHH2L/dbP0c2Bxc49G4X7LV47Nc35/aTy3PH fkHmIjyAF0j/bN1/LXMx6LqOGRBnhW1GUHJPWdRVp5K3sHMsvnreasys7ichRcKYIWvw RKp5vX2/NpGjmLKO5BG9Lac9jyM9fjASf+FK5FS8lcIbwohczs49iCAxqNDnGQ3E3ZCU lxppa1B6stkbDq9uNN1c+/A5aoU3HaBqA1a4k5dEBdB4NrNVxOh1kx1P+oG/MXB8wtIf vR8qKjAniNm8HuftB0ciFwGoniY2Lk63khgkP19t7W/ufBWNaearGovidaHdOeUoHPEl f4yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=s5uNrhU9JtwgNpX0HpgTHibPi/Nmjww6UFf3Nv3zWn0=; b=fvnV4UH1O/IVs3zxDyS/pQm68V9m6DcoiiDsCRiXG+wwHIZlEHb93+JpO13/ScFUDF zrvquafzDuW6J6Zy0I49TfNfU6FXQ43aAoBKGI7lpGAy7jiCygzOKg2lJNDDUnZkNAwm CkIyWndoVYsoYS9px7gcHdq6dtUVLNbGJjF6JuFCimKvQcb5RyVc7M8q/WxaI1ojIOvv AQ4SfRAxY3JAdMwQSdzQAxF6gU5ZkVfM0EkH5tpkP4/+rmxtHJDEhoVNs1WwMZr4dOe1 lmctfbS1639ySdtr3AVkH1+EoKM2udf1kqc1MDePseDdBJ9mnnT3Ve3cgwmlGJ2TMnjF J/dg== X-Gm-Message-State: APjAAAUuXFhQxt0L84cZ5JyVGd3b6UfjIl6Q0o3Su/7FeWTs5pJWU6f0 92GS6qarr3wRPA5LCD59KHGMaKlCQXvOc6yBNhyt24tx95I= X-Google-Smtp-Source: APXvYqy83+uT3OfZkMYQax8jQTxQTDXKdS+u7ppjxt6XIROah+Zz/Q3WFE4No+OqtpNzWu19/zS3wpc6wlTr5f9mAzo= X-Received: by 2002:a0c:c590:: with SMTP id a16mr41885013qvj.144.1571211552113; Wed, 16 Oct 2019 00:39:12 -0700 (PDT) MIME-Version: 1.0 From: Brian Leung Date: Wed, 16 Oct 2019 00:38:35 -0700 Message-ID: Subject: Python 2.7 not configured for Tk To: bug-guix@gnu.org Content-Type: multipart/alternative; boundary="0000000000006e49180595023262" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::82a X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) --0000000000006e49180595023262 Content-Type: text/plain; charset="UTF-8" Hi Guix, Python 2.7 doesn't seem like it handles Tk properly right now, at least on my machine: >>> import Tkinter Traceback (most recent call last): File "", line 1, in File "/gnu/store/h2crv1mpc5qi05xdnn84fjp9g4gyicsl-python2-2.7.16/lib/python2.7/lib-tk/Tkinter.py", line 39, in import _tkinter # If this fails your Python may not be configured for Tk ImportError: No module named _tkinter --0000000000006e49180595023262 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Guix,

Python 2.7 doesn't seem li= ke it handles Tk properly right now, at least on my machine:

=
>>> import Tkinter
Traceback (most recent call last)= :
=C2=A0 File "<stdin>", line 1, in <module>
= =C2=A0 File "/gnu/store/h2crv1mpc5qi05xdnn84fjp9g4gyicsl-python2-2.7.1= 6/lib/python2.7/lib-tk/Tkinter.py", line 39, in <module>
=C2= =A0 =C2=A0 import _tkinter # If this fails your Python may not be configure= d for Tk
ImportError: No module named _tkinter
--0000000000006e49180595023262-- From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 16 09:50:41 2019 Received: (at 37775) by debbugs.gnu.org; 16 Oct 2019 13:50:41 +0000 Received: from localhost ([127.0.0.1]:45456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKjhI-0000b1-Qi for submit@debbugs.gnu.org; Wed, 16 Oct 2019 09:50:41 -0400 Received: from mail-pf1-f171.google.com ([209.85.210.171]:35012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKjhI-0000ap-7M for 37775@debbugs.gnu.org; Wed, 16 Oct 2019 09:50:40 -0400 Received: by mail-pf1-f171.google.com with SMTP id 205so14794750pfw.2 for <37775@debbugs.gnu.org>; Wed, 16 Oct 2019 06:50:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:in-reply-to:references:date:mime-version :user-agent:content-transfer-encoding; bh=6Wm9xsa11bNxUFQKdhgkzh+P4OecAeNZMbkTl0OEV/s=; b=Pt94no2/sEqXSuOsue8xljdTAd5lbZqkSkKApueHIUBrS3kKEx3IfKkIXE6gZvBD4m VdfgT1Y9uCR3S0KJrrC8hua+u4oQ+EkSEC2D5hzIAIahT56AfK/7LMUQyr2iKn6OLSPQ EgPsroyTIJfLd2kE31bH7GRNHMIEmbgmVyxjKgXkZ6hNneyZGejkchfvQks/MZrzXqNH FTNYfLIsB/KcgGXdMYWaZ2YUkyFQQr8fIyuJCWdzqRkmgT91A4DG/vsJXse/M9Kk4ebC B5CglnqZ4rqhs4OkCjDJHzj1OboJ0+1NrNpLlipEOpzMwVUadLMvllmjvlMPuVaDlI8E W24Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:in-reply-to :references:date:mime-version:user-agent:content-transfer-encoding; bh=6Wm9xsa11bNxUFQKdhgkzh+P4OecAeNZMbkTl0OEV/s=; b=fadisBtTj0Vxd5pg0L0Nz005Txk/Ipe5TngCSlY5N5ClvgcfjYlIk0Gs8QESAZaHGi OCF9NcYVc35yLmyra7t/wZ9cx2K5oUEuOQ8NXdDHLuMDYRiU+w/3K9VRGwb9rNb6AYNn bq/TvvTp8iY0hXi1TFzC2U64cpJNG33b2+Fg8dQ4d4kvrNP80918Bv26i9mNARPsn4kd i5G9Tplr+OS4kmoAY3ovCzAfy+YkzVTmX6UQkY/jLVK11KBhDC3XFVXECU7E+kvsICYQ KsaHdF1XZJ6mBeA4rNipmO2jXXClbOIkLPUW0qbZI/sJQIZhRri25XHDkeODKumQJZgl ibvg== X-Gm-Message-State: APjAAAWp76JfFSk6lgvEFkFIT0N5ccy7L2UYnzyzJj7xQkH+0bPZQrUk 0vYqyk1rpVh191P7sA8it8w= X-Google-Smtp-Source: APXvYqyocUpSQJzjhOjGIc/rypxrt7T0vX7XQE3kb/w4hM5YVt97ofI975z9idT6GLOvWlcmIvrQhQ== X-Received: by 2002:aa7:9715:: with SMTP id a21mr33718458pfg.174.1571233834252; Wed, 16 Oct 2019 06:50:34 -0700 (PDT) Received: from piranhaplant.local ([199.68.53.171]) by smtp.googlemail.com with ESMTPSA id b9sm22903372pfo.105.2019.10.16.06.50.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2019 06:50:33 -0700 (PDT) Message-ID: <664d8e495d82feeafcb2340bc87daa020ca5adff.camel@gmail.com> Subject: Re: bug#37775: Python 2.7 not configured for Tk From: Jesse Gibbons To: Brian Leung , 37775@debbugs.gnu.org In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Wed, 16 Oct 2019 07:50:32 -0600 MIME-Version: 1.0 User-Agent: Evolution 3.30.5 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 37775 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Wed, 2019-10-16 at 00:38 -0700, Brian Leung wrote: > Hi Guix, > > Python 2.7 doesn't seem like it handles Tk properly right now, at least on > my machine: > > >>> import Tkinter > Traceback (most recent call last): > File "", line 1, in > File "/gnu/store/h2crv1mpc5qi05xdnn84fjp9g4gyicsl-python2- > 2.7.16/lib/python2.7/lib-tk/Tkinter.py", line 39, in > import _tkinter # If this fails your Python may not be configured for > Tk > ImportError: No module named _tkinter Python has a tk output to keep the python package small. - If you're using tk for a personal script, you will probably need run 'guix install python2:tk' - If you need tk for a package input, you will need to use '("python2-tk" ,python "tk")' or copy the input from one of the python packages that uses tk. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 16 12:53:19 2019 Received: (at 37775-done) by debbugs.gnu.org; 16 Oct 2019 16:53:19 +0000 Received: from localhost ([127.0.0.1]:46454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKmY3-0005Ji-5F for submit@debbugs.gnu.org; Wed, 16 Oct 2019 12:53:19 -0400 Received: from mail-qk1-f180.google.com ([209.85.222.180]:42111) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iKmY1-0005JV-5W for 37775-done@debbugs.gnu.org; Wed, 16 Oct 2019 12:53:17 -0400 Received: by mail-qk1-f180.google.com with SMTP id f16so23406972qkl.9 for <37775-done@debbugs.gnu.org>; Wed, 16 Oct 2019 09:53:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=q67a4s1NqfkwSYWl5jFJkoFBuYegaUdnuZlqX+rwXzQ=; b=F0vGKR913zfoRhvlLB5IpMxeMVMWkF3g8FVguj8997MRqRU1gWkGdm94rvVlwH5POK Z9LUlQXZbF5emloI2O30ybDqNntNoKbvOyGYaRgaQnWLGiwW3ezL/1QDN1/UVBSq1RGD 5T0TNLM0DvI6qwL+c7V/XWHTxiDmDPt1L3FfuoWSIN1XVOSlepH3rnbpVEQQyQcp3X6v 4M53q0qgI8oOvGqE1JyevPra1DgLhar4AijY16G3ni3ebp7WRZU9ctbp7deKs9FYYkAW 8pi74arn3MUdxy/YHHUGu4rB4F6YO/9KSrVKvVM4tRsniRHEXWwGlIGSbLmqrzr/VsEK +14A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=q67a4s1NqfkwSYWl5jFJkoFBuYegaUdnuZlqX+rwXzQ=; b=PnJm03AO5ALyZLV9o2jBNv4dVKHO0SfwvjCnk1Qt6GXII9QlG0oveCBHWBQaP8be8l F45QEVkItAzSDf3vxFV1wf4XbByuKfhenMlFONOiGQTkTMycIXUwsSBOhi8tR3vifcDe VXz/rIMqV8T3YCXwVRFnGq+0i2TsCFpPQNZOMEl6fRz9crCHQZ3UzPgccnVBuVNG1aPu wyiMZ3FfiFpSW19mSNhh/+5aPs2wJLuAT2+56Q4kSSmoSJVf8JyCPmmlGppQ8abwskpL 9LnaZSg5cxWqu1w4FPxxVqJE34GC3KSQD+qq0OFfJs2w6vB4QNgWjN+4DmZ76Pi1kKxL vL+A== X-Gm-Message-State: APjAAAV850vcGq3o8XceK3VCf6JOah4ZKMZfYQEprTJIsjMDCktenNwO 6ypSTeXuOqLRtvp6Ayh7EY2svavs+yarawSgXyc= X-Google-Smtp-Source: APXvYqxqx0etYbOpgBxEcYgQcpq+YUBvMwPpxwcmMwJoVodu1UfM3BheXs2IHc5ZtgsMigs5V17voQv/LRGTTDoBv8E= X-Received: by 2002:a37:9e84:: with SMTP id h126mr63165qke.407.1571244791458; Wed, 16 Oct 2019 09:53:11 -0700 (PDT) MIME-Version: 1.0 References: <664d8e495d82feeafcb2340bc87daa020ca5adff.camel@gmail.com> In-Reply-To: <664d8e495d82feeafcb2340bc87daa020ca5adff.camel@gmail.com> From: Brian Leung Date: Wed, 16 Oct 2019 18:52:35 +0200 Message-ID: Subject: Re: bug#37775: Python 2.7 not configured for Tk To: Jesse Gibbons , 37775-done@debbugs.gnu.org Content-Type: multipart/alternative; boundary="000000000000a66f1c059509efba" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 37775-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --000000000000a66f1c059509efba Content-Type: text/plain; charset="UTF-8" Thanks! On Wed, Oct 16, 2019 at 3:50 PM Jesse Gibbons wrote: > On Wed, 2019-10-16 at 00:38 -0700, Brian Leung wrote: > > Hi Guix, > > > > Python 2.7 doesn't seem like it handles Tk properly right now, at least > on > > my machine: > > > > >>> import Tkinter > > Traceback (most recent call last): > > File "", line 1, in > > File "/gnu/store/h2crv1mpc5qi05xdnn84fjp9g4gyicsl-python2- > > 2.7.16/lib/python2.7/lib-tk/Tkinter.py", line 39, in > > import _tkinter # If this fails your Python may not be configured for > > Tk > > ImportError: No module named _tkinter > Python has a tk output to keep the python package small. > - If you're using tk for a personal script, you will probably need run > 'guix > install python2:tk' > - If you need tk for a package input, you will need to use > '("python2-tk" ,python "tk")' or copy the input from one of the python > packages that uses tk. > > --000000000000a66f1c059509efba Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks!

On Wed, Oct 16, 2019 at 3:50 PM Jesse Gibbons <<= a href=3D"mailto:jgibbons2357@gmail.com">jgibbons2357@gmail.com> wro= te:
On Wed, 2019= -10-16 at 00:38 -0700, Brian Leung wrote:
> Hi Guix,
>
> Python 2.7 doesn't seem like it handles Tk properly right now, at = least on
> my machine:
>
> >>> import Tkinter
> Traceback (most recent call last):
>=C2=A0 =C2=A0File "<stdin>", line 1, in <module><= br> >=C2=A0 =C2=A0File "/gnu/store/h2crv1mpc5qi05xdnn84fjp9g4gyicsl-pyt= hon2-
> 2.7.16/lib/python2.7/lib-tk/Tkinter.py", line 39, in <module&g= t;
>=C2=A0 =C2=A0 =C2=A0import _tkinter # If this fails your Python may not= be configured for
> Tk
> ImportError: No module named _tkinter
Python has a tk output to keep the python package small.
- If you're using tk for a personal script, you will probably need run = 'guix
install python2:tk'
- If you need tk for a package input, you will need to use
'("python2-tk" ,python "tk")' or copy the input= from one of the python
packages that uses tk.

--000000000000a66f1c059509efba-- From unknown Sat Aug 09 04:58:54 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 14 Nov 2019 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator