unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Jesse Gibbons <jgibbons2357@gmail.com>
To: Brian Leung <bkleung89@gmail.com>, 37775@debbugs.gnu.org
Subject: bug#37775: Python 2.7 not configured for Tk
Date: Wed, 16 Oct 2019 07:50:32 -0600	[thread overview]
Message-ID: <664d8e495d82feeafcb2340bc87daa020ca5adff.camel@gmail.com> (raw)
In-Reply-To: <CAAc=MEyxFmxAy=24k5EhzhiZX=FybXgO91fP1RLy1UKx28knZA@mail.gmail.com>

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	other threads:[~2019-10-16 13:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-16  7:38 bug#37775: Python 2.7 not configured for Tk Brian Leung
2019-10-16 13:50 ` Jesse Gibbons [this message]
2019-10-16 16:52   ` Brian Leung

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=664d8e495d82feeafcb2340bc87daa020ca5adff.camel@gmail.com \
    --to=jgibbons2357@gmail.com \
    --cc=37775@debbugs.gnu.org \
    --cc=bkleung89@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).