[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#71567: python tkinter library not found in guix shell
From: |
Tobias Geerinckx-Rice |
Subject: |
bug#71567: python tkinter library not found in guix shell |
Date: |
Sun, 16 Jun 2024 14:09:32 +0000 |
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.