GNU bug report logs - #37775
Python 2.7 not configured for Tk

Previous Next

Package: guix;

Reported by: Brian Leung <bkleung89 <at> gmail.com>

Date: Wed, 16 Oct 2019 07:40:02 UTC

Severity: normal

Done: Brian Leung <bkleung89 <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37775 in the body.
You can then email your comments to 37775 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#37775; Package guix. (Wed, 16 Oct 2019 07:40:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Brian Leung <bkleung89 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 16 Oct 2019 07:40:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Brian Leung <bkleung89 <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: Python 2.7 not configured for Tk
Date: Wed, 16 Oct 2019 00:38:35 -0700
[Message part 1 (text/plain, inline)]
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 "<stdin>", line 1, in <module>
  File
"/gnu/store/h2crv1mpc5qi05xdnn84fjp9g4gyicsl-python2-2.7.16/lib/python2.7/lib-tk/Tkinter.py",
line 39, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#37775; Package guix. (Wed, 16 Oct 2019 13:51:02 GMT) Full text and rfc822 format available.

Message #8 received at 37775 <at> debbugs.gnu.org (full text, mbox):

From: Jesse Gibbons <jgibbons2357 <at> gmail.com>
To: Brian Leung <bkleung89 <at> gmail.com>, 37775 <at> debbugs.gnu.org
Subject: Re: bug#37775: Python 2.7 not configured for Tk
Date: Wed, 16 Oct 2019 07:50:32 -0600
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 "<stdin>", line 1, in <module>
>   File "/gnu/store/h2crv1mpc5qi05xdnn84fjp9g4gyicsl-python2-
> 2.7.16/lib/python2.7/lib-tk/Tkinter.py", line 39, in <module>
>     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.





Reply sent to Brian Leung <bkleung89 <at> gmail.com>:
You have taken responsibility. (Wed, 16 Oct 2019 16:54:02 GMT) Full text and rfc822 format available.

Notification sent to Brian Leung <bkleung89 <at> gmail.com>:
bug acknowledged by developer. (Wed, 16 Oct 2019 16:54:02 GMT) Full text and rfc822 format available.

Message #13 received at 37775-done <at> debbugs.gnu.org (full text, mbox):

From: Brian Leung <bkleung89 <at> gmail.com>
To: Jesse Gibbons <jgibbons2357 <at> gmail.com>, 37775-done <at> debbugs.gnu.org
Subject: Re: bug#37775: Python 2.7 not configured for Tk
Date: Wed, 16 Oct 2019 18:52:35 +0200
[Message part 1 (text/plain, inline)]
Thanks!

On Wed, Oct 16, 2019 at 3:50 PM Jesse Gibbons <jgibbons2357 <at> gmail.com>
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 "<stdin>", line 1, in <module>
> >   File "/gnu/store/h2crv1mpc5qi05xdnn84fjp9g4gyicsl-python2-
> > 2.7.16/lib/python2.7/lib-tk/Tkinter.py", line 39, in <module>
> >     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.
>
>
[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 14 Nov 2019 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 217 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.