|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#37775: closed (Python 2.7 not configured for Tk) |
Date: | Wed, 16 Oct 2019 16:54:02 +0000 |
Your message dated Wed, 16 Oct 2019 18:52:35 +0200 with message-id <CAAc=MEw9a6JVr-HG9_gzsh2RwBbmHeWO8kKHRTXHQriyd2-=address@hidden> and subject line Re: bug#37775: Python 2.7 not configured for Tk has caused the debbugs.gnu.org bug report #37775, regarding Python 2.7 not configured for Tk to be marked as done. (If you believe you have received this mail in error, please contact address@hidden.) -- 37775: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37775 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: Python 2.7 not configured for Tk Date: Wed, 16 Oct 2019 00:38:35 -0700 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
--- End Message ---
--- Begin Message ---Subject: Re: bug#37775: Python 2.7 not configured for Tk Date: Wed, 16 Oct 2019 18:52:35 +0200 Thanks!On Wed, Oct 16, 2019 at 3:50 PM Jesse Gibbons <address@hidden> 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.
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |