GNU bug report logs - #34772
Python tkinter

Previous Next

Package: guix;

Reported by: brettg <at> posteo.net

Date: Wed, 6 Mar 2019 19:49:01 UTC

Severity: normal

Done: Timothy Sample <samplet <at> ngyro.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 34772 in the body.
You can then email your comments to 34772 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#34772; Package guix. (Wed, 06 Mar 2019 19:49:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to brettg <at> posteo.net:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 06 Mar 2019 19:49:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: brettg <at> posteo.net
To: Bug guix <Bug-guix <at> gnu.org>, Guix-devel
 <guix-devel-bounces+brettg=posteo.net <at> gnu.org>
Subject: Python tkinter
Date: Wed, 06 Mar 2019 20:48:16 +0100
Hello all,

I am having an issue getting tkinter to work for our python build.

brettg <at> guixsd ~/Repos/CS101/Prog4$ python3 main.py
Traceback (most recent call last):
  File "main.py", line 50, in <module>
    import windowUtilMod
  File "/home/brettg/Repos/CS101/Prog4/windowUtilMod.py", line 4, in 
<module>
    import tkinter as tk
  File 
"/gnu/store/9z98cvjm7p7z21xdid1ryydxy5vyz6wr-python-3.7.0/lib/python3.7/tkinter/__init__.py", 
line 36, in <module>
    import _tkinter # If this fails your Python may not be configured 
for Tk
ModuleNotFoundError: No module named '_tkinter'

Anybody have any ideas? Please reply to the bug report number.

Brett




Information forwarded to bug-guix <at> gnu.org:
bug#34772; Package guix. (Thu, 07 Mar 2019 20:40:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "brettg <at> posteo.net" <brettg <at> posteo.net>
To: Bug guix <Bug-guix <at> gnu.org>, Guix-devel
 <guix-devel-bounces+brettg=posteo.net <at> gnu.org>
Subject: Re: bug#34772: Python tkinter
Date: Thu, 07 Mar 2019 14:39:18 -0600
[Message part 1 (text/plain, inline)]
Bumping this, as it has been 24 hours without a reply. I'm still not sure what to make of this issue, and I do not have another machine to reproduce it on.------ Original message------From: brettg <at> posteo.netDate: Wed, Mar 6, 2019 1:50 PMTo: Bug guix;Guix-devel;Cc: Subject:bug#34772: Python tkinterHello all,

I am having an issue getting tkinter to work for our python build.

brettg <at> guixsd ~/Repos/CS101/Prog4$ python3 main.py
Traceback (most recent call last):
   File "main.py", line 50, in 
     import windowUtilMod
   File "/home/brettg/Repos/CS101/Prog4/windowUtilMod.py", line 4, in 

     import tkinter as tk
   File 
"/gnu/store/9z98cvjm7p7z21xdid1ryydxy5vyz6wr-python-3.7.0/lib/python3.7/tkinter/__init__.py", 
line 36, in 
     import _tkinter # If this fails your Python may not be configured 
for Tk
ModuleNotFoundError: No module named '_tkinter'

Anybody have any ideas? Please reply to the bug report number.

Brett



[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#34772; Package guix. (Fri, 08 Mar 2019 01:03:03 GMT) Full text and rfc822 format available.

Message #11 received at 34772 <at> debbugs.gnu.org (full text, mbox):

From: Timothy Sample <samplet <at> ngyro.com>
To: "brettg\@posteo.net" <brettg <at> posteo.net>
Cc: 34772 <at> debbugs.gnu.org
Subject: Re: bug#34772: Python tkinter
Date: Thu, 07 Mar 2019 20:02:25 -0500
Hi Brett,

"brettg <at> posteo.net" <brettg <at> posteo.net> writes:

> Bumping this, as it has been 24 hours without a reply. I'm still not
> sure what to make of this issue, and I do not have another machine to
> reproduce it on.
>
> [...]
>
> ModuleNotFoundError: No module named '_tkinter'
>
> Anybody have any ideas? Please reply to the bug report number.

I looked at our Python package, and Tk support is in a separate output
called “tk”.  I tried “guix environment --ad-hoc python python:tk”, and
was at least able to get past this error.  Are you using the “tk”
output?


-- Tim




Information forwarded to bug-guix <at> gnu.org:
bug#34772; Package guix. (Fri, 08 Mar 2019 01:43:01 GMT) Full text and rfc822 format available.

Message #14 received at 34772 <at> debbugs.gnu.org (full text, mbox):

From: brettg <at> posteo.net
To: Timothy Sample <samplet <at> ngyro.com>
Cc: 34772 <at> debbugs.gnu.org
Subject: Re: bug#34772: Python tkinter
Date: Fri, 08 Mar 2019 02:42:35 +0100

On 08.03.2019 02:02, Timothy Sample wrote:
> Hi Brett,
> 
> "brettg <at> posteo.net" <brettg <at> posteo.net> writes:
> 
>> Bumping this, as it has been 24 hours without a reply. I'm still not
>> sure what to make of this issue, and I do not have another machine to
>> reproduce it on.
>> 
>> [...]
>> 
>> ModuleNotFoundError: No module named '_tkinter'
>> 
>> Anybody have any ideas? Please reply to the bug report number.
> 
> I looked at our Python package, and Tk support is in a separate output
> called “tk”.  I tried “guix environment --ad-hoc python python:tk”, and
> was at least able to get past this error.  Are you using the “tk”
> output?
> 
> 
> -- Tim

Thank you Tim. I don't know how I missed that, as I tried exactly that. 
Weird. We can close this error




Reply sent to Timothy Sample <samplet <at> ngyro.com>:
You have taken responsibility. (Fri, 08 Mar 2019 04:07:02 GMT) Full text and rfc822 format available.

Notification sent to brettg <at> posteo.net:
bug acknowledged by developer. (Fri, 08 Mar 2019 04:07:02 GMT) Full text and rfc822 format available.

Message #19 received at 34772-done <at> debbugs.gnu.org (full text, mbox):

From: Timothy Sample <samplet <at> ngyro.com>
To: brettg <at> posteo.net
Cc: 34772-done <at> debbugs.gnu.org
Subject: Re: bug#34772: Python tkinter
Date: Thu, 07 Mar 2019 23:05:53 -0500
Hi Brett,

brettg <at> posteo.net writes:

> Thank you Tim. I don't know how I missed that, as I tried exactly
> that. Weird. We can close this error

Glad I could help!


-- Tim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 05 Apr 2019 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 21 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.