From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id SGCOD5XvbmaLoQAAe85BDQ:P1 (envelope-from ) for ; Sun, 16 Jun 2024 13:58:45 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id SGCOD5XvbmaLoQAAe85BDQ (envelope-from ) for ; Sun, 16 Jun 2024 15:58:45 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailoo.org header.s=mailo header.b=YaTP1qUl; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718546325; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=0jnXn4TLpsJNYwMz5pJCDgt0DNXBYibeFKv5zcHGT9M=; b=p42xIfyBeWWFjGj0sO87CBdvyapwqDjsZzDVNJfsTgnqXVvWmOHT+zM8iNADV0Kbs28cnS CzE5pDSa6oBrZlneNRqLTAu8IsHprQ11Q7bN2tWekMYUPLNZEKfgr4zsB4tjovhGg9tayx NpiFYMKZqXM1dt2zFxPlIPRXZSuWRB9DMVQ+K6coVcfP66peYDfiuB/jsmstfSmKkBX9+A osjsFf0SyYiHPIFomY1OIW8Yu6NAAJK19AC9+jC71fkJ4lBjNQqNMgfPAeijcBUZ6ChdRH fVfqjvlxY1QcNgLUDw/zdyuM8IF1S7b7yJIXz74OW7+kc5h9d+wty20rLwCxPg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718546325; a=rsa-sha256; cv=none; b=pfy5in9pkSIspLYE58zy1OBrFYFgHPTHiaVYbEiiUgS0OyDX0TSXqCmAap9VFNPmXedSzT Q7z9NaME5uT2z/ZCwVKohhMY4GD4YBZ/1c8iQrs3tYp4JLSO14rPV76LIf0xWd6HYkRUIs AfuEn9LQKCTtvxvRBL3UkhiNPDjcH718EOT0Ci8WN6nR8S6tN2Kre6CFLBXxHXsYoac9Yu KlpIojLSaqIvbZ3Etf+raFu6ZzmPQs/qTC5EbrYbCw0o5RruaftbmVqDtn3Diz0NqONoa0 yHzsrUwuHWKbxeHn4CHGOUNy5IYxYruar8GNlw5qjy3JzJEAQkmZC73Lla3fEA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailoo.org header.s=mailo header.b=YaTP1qUl; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BB1577A478 for ; Sun, 16 Jun 2024 15:58:44 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sIqOq-0006uz-VP; Sun, 16 Jun 2024 09:58:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sITry-0002wI-F7 for bug-guix@gnu.org; Sat, 15 Jun 2024 09:55:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sITry-0001cI-5g for bug-guix@gnu.org; Sat, 15 Jun 2024 09:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sITry-000814-K7 for bug-guix@gnu.org; Sat, 15 Jun 2024 09:55:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#71567: python tkinter library not found in guix shell Resent-From: timotheemathieu@mailoo.org Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 15 Jun 2024 13:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71567 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 71567@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171845968130731 (code B ref -1); Sat, 15 Jun 2024 13:55:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Jun 2024 13:54:41 +0000 Received: from localhost ([127.0.0.1]:46528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sITrc-0007za-Dx for submit@debbugs.gnu.org; Sat, 15 Jun 2024 09:54:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:49738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sIQYT-0003xt-IS for submit@debbugs.gnu.org; Sat, 15 Jun 2024 06:22:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sIQYS-0007qo-HZ for bug-guix@gnu.org; Sat, 15 Jun 2024 06:22:40 -0400 Received: from msg-4.mailo.com ([213.182.54.15] helo=mailo.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sIQYQ-0001n3-93 for bug-guix@gnu.org; Sat, 15 Jun 2024 06:22:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailoo.org; s=mailo; t=1718446952; bh=0jnXn4TLpsJNYwMz5pJCDgt0DNXBYibeFKv5zcHGT9M=; h=X-EA-Auth:From:To:Date:Subject:MIME-Version:X-Mailer:Message-ID: Content-Type; b=YaTP1qUlIm0wo7cIlMIQjsAT1++RVaAs+CVDrWTULazVV5uOSw5LfY0pq4xfc6rxm ZrntpqG30H/tZ/a5VFo1sHh006+m5Qj40v4IRGG11eyVj1DInRc3C8iob695KLQRpH Agg496DpAxv39292Wv3QfCx1cFZ2/Q4+caAEHXsc= Received: by www.net-c.com with http webmail; Sat, 15 Jun 2024 12:22:32 +0200 (CEST) X-EA-Auth: w3qWQ7ZuByzxc44WPI8iXiRmm/qtOIC20zu6ACEOctVf/Afi6hv+lxcGWlDC05YHkyV7EioDTQsHeNfGKSwMNToCiRS9kzGk Date: Sat, 15 Jun 2024 12:22:32 +0200 (CEST) X-Priority: 3 MIME-Version: 1.0 X-Mailer: COMS/EA22.05/r20240207 Message-ID: Content-Type: multipart/alternative; boundary="----=_NextPart_001_666d6b68_a54_a47d3b2" Received-SPF: pass client-ip=213.182.54.15; envelope-from=timotheemathieu@mailoo.org; helo=mailo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 15 Jun 2024 09:54:38 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sun, 16 Jun 2024 09:58:26 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: timotheemathieu@mailoo.org From: timotheemathieu--- via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.05 X-Spam-Score: -3.05 X-Migadu-Queue-Id: BB1577A478 X-Migadu-Scanner: mx11.migadu.com X-TUID: m0MvLW3Av1F7 ------=_NextPart_001_666d6b68_a54_a47d3b2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, I want to use guix shell for development environment with python, and more= precisely, I want to usethe=C2=A0 tkinter library in python.=20 According to https://issues.guix.gnu.org/20889 I believed that tkinter sho= uld be automatically included into python but when I launch=20 guix shell -CN=C2=A0 python tk tcl -- python3 -m tkinter I get Traceback (most recent call last): =C2=A0 File "/gnu/store/1w5v338qk5m8khcazwclprs3znqp6f7f-python-3.10.7/lib= /python3.10/runpy.py", line 187, in _run_module_as_main =C2=A0=C2=A0=C2=A0 mod_name, mod_spec, code =3D _get_module_details(mod_na= me, _Error) =C2=A0 File "/gnu/store/1w5v338qk5m8khcazwclprs3znqp6f7f-python-3.10.7/lib= /python3.10/runpy.py", line 146, in _get_module_details =C2=A0=C2=A0=C2=A0 return _get_module_details(pkg_main_name, error) =C2=A0 File "/gnu/store/1w5v338qk5m8khcazwclprs3znqp6f7f-python-3.10.7/lib= /python3.10/runpy.py", line 110, in _get_module_details =C2=A0=C2=A0=C2=A0 __import__(pkg_name) =C2=A0 File "/gnu/store/1w5v338qk5m8khcazwclprs3znqp6f7f-python-3.10.7/lib= /python3.10/tkinter/__init__.py", line 37, in =C2=A0=C2=A0=C2=A0 import _tkinter # If this fails your Python may not be = configured for Tk ModuleNotFoundError: No module named '_tkinter' whereas, python3 -m tkinter works perfectly well on the host OS (which is = a foreign os, not guix-SD). I did a guix pull pretty recently, guix is up t= o date. Is this a bug or is there a specific way to install python so that we get = tkinter at the same time ?=20 Thanks. ------=_NextPart_001_666d6b68_a54_a47d3b2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I want to use guix shell for devel= opment environment with python, and more precisely, I want to usethe=C2=A0 = tkinter library in python.
According to https://issues.guix.= gnu.org/20889 I believed that tkinter should be automatically included into= python but when I launch

guix shell -CN=C2= =A0 python tk tcl -- python3 -m tkinter

I get

Traceback (most recent call last):
=C2=A0 File &quo= t;/gnu/store/1w5v338qk5m8khcazwclprs3znqp6f7f-python-3.10.7/lib/python3.10/= runpy.py", line 187, in _run_module_as_main
=C2=A0=C2=A0=C2=A0 mod_= name, mod_spec, code =3D _get_module_details(mod_name, _Error)
=C2=A0 Fi= le "/gnu/store/1w5v338qk5m8khcazwclprs3znqp6f7f-python-3.10.7/lib/pyth= on3.10/runpy.py", line 146, in _get_module_details
=C2=A0=C2=A0=C2= =A0 return _get_module_details(pkg_main_name, error)
=C2=A0 File "/= gnu/store/1w5v338qk5m8khcazwclprs3znqp6f7f-python-3.10.7/lib/python3.10/run= py.py", line 110, in _get_module_details
=C2=A0=C2=A0=C2=A0 __impor= t__(pkg_name)
=C2=A0 File "/gnu/store/1w5v338qk5m8khcazwclprs3znqp6= f7f-python-3.10.7/lib/python3.10/tkinter/__init__.py", line 37, in <= ;module>
=C2=A0=C2=A0=C2=A0 import _tkinter # If this fails your Pyth= on may not be configured for Tk
ModuleNotFoundError: No module named '_t= kinter'

whereas, python3 -m tkinter works perfectl= y well on the host OS (which is a foreign os, not guix-SD). I did a guix pu= ll pretty recently, guix is up to date.

Is thi= s a bug or is there a specific way to install python so that we get tkinter= at the same time ?

Thanks.
------=_NextPart_001_666d6b68_a54_a47d3b2--