From: Tobias Geerinckx-Rice via Bug reports for GNU Guix <bug-guix@gnu.org>
To: timotheemathieu@mailoo.org, 71567-close@debbugs.gnu.org
Subject: bug#71567: python tkinter library not found in guix shell
Date: Sun, 16 Jun 2024 14:09:32 +0000 [thread overview]
Message-ID: <DA8DDCF8-C1C2-4615-8460-8F1FBED2630B@tobias.gr> (raw)
In-Reply-To: <ea-mime-666d6b68-a54-6131190c@mailo.com>
Hi Timothee,
On 15 June 2024 10:22:32 UTC, timotheemathieu--- via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:
>According to https://issues.guix.gnu.org/20889 I believed that tkinter should be automatically included into python
Not quite. Quoting Ludo' in that thread:
"I think we should move tkinter*.so to a separate output of the Python packages"
And indeed:
~ λ guix show python
name: python
version: 3.10.7
outputs:
+ tk: [description missing]
+ idle: [description missing]
+ out: everything else
[...]
So there's no bug, you just never included tkinter in your environment when you thought you had.
Iinstead of
>guix shell -CN python tk tcl -- python3 -m tkinter
try
~ λ guix shell -CN python{,:tk} -- python3 -m tkinter
'python{,:tk}' is bash shorthand that expands to 'python python:tk'.
I get a $DISPLAY error because this machine doesn't run X, but that implies success, right?
Kind regards,
T G-R
Sent on the go. Excuse or enjoy my brevity.
prev parent reply other threads:[~2024-06-16 14:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-15 10:22 bug#71567: python tkinter library not found in guix shell timotheemathieu--- via Bug reports for GNU Guix
2024-06-16 14:09 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix [this message]
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=DA8DDCF8-C1C2-4615-8460-8F1FBED2630B@tobias.gr \
--to=bug-guix@gnu.org \
--cc=71567-close@debbugs.gnu.org \
--cc=me@tobias.gr \
--cc=timotheemathieu@mailoo.org \
/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).