* bug#37775: Python 2.7 not configured for Tk
@ 2019-10-16 7:38 Brian Leung
2019-10-16 13:50 ` Jesse Gibbons
0 siblings, 1 reply; 3+ messages in thread
From: Brian Leung @ 2019-10-16 7:38 UTC (permalink / raw)
To: 37775
[-- Attachment #1: Type: text/plain, Size: 427 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 571 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#37775: Python 2.7 not configured for Tk
2019-10-16 7:38 bug#37775: Python 2.7 not configured for Tk Brian Leung
@ 2019-10-16 13:50 ` Jesse Gibbons
2019-10-16 16:52 ` Brian Leung
0 siblings, 1 reply; 3+ messages in thread
From: Jesse Gibbons @ 2019-10-16 13:50 UTC (permalink / raw)
To: Brian Leung, 37775
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#37775: Python 2.7 not configured for Tk
2019-10-16 13:50 ` Jesse Gibbons
@ 2019-10-16 16:52 ` Brian Leung
0 siblings, 0 replies; 3+ messages in thread
From: Brian Leung @ 2019-10-16 16:52 UTC (permalink / raw)
To: Jesse Gibbons, 37775-done
[-- Attachment #1: Type: text/plain, Size: 949 bytes --]
Thanks!
On Wed, Oct 16, 2019 at 3:50 PM Jesse Gibbons <jgibbons2357@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.
>
>
[-- Attachment #2: Type: text/html, Size: 1428 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-10-16 16:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-16 7:38 bug#37775: Python 2.7 not configured for Tk Brian Leung
2019-10-16 13:50 ` Jesse Gibbons
2019-10-16 16:52 ` Brian Leung
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).