unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#34772: Python tkinter
@ 2019-03-06 19:48 brettg
  2019-03-07 20:39 ` brettg
  0 siblings, 1 reply; 5+ messages in thread
From: brettg @ 2019-03-06 19:48 UTC (permalink / raw)
  To: Bug guix, Guix-devel

Hello all,

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

brettg@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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#34772: Python tkinter
  2019-03-06 19:48 bug#34772: Python tkinter brettg
@ 2019-03-07 20:39 ` brettg
  2019-03-08  1:02   ` Timothy Sample
  0 siblings, 1 reply; 5+ messages in thread
From: brettg @ 2019-03-07 20:39 UTC (permalink / raw)
  To: Bug guix, Guix-devel

[-- Attachment #1: Type: text/plain, Size: 962 bytes --]

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@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@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




[-- Attachment #2: Type: text/html, Size: 1580 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#34772: Python tkinter
  2019-03-07 20:39 ` brettg
@ 2019-03-08  1:02   ` Timothy Sample
  2019-03-08  1:42     ` brettg
  0 siblings, 1 reply; 5+ messages in thread
From: Timothy Sample @ 2019-03-08  1:02 UTC (permalink / raw)
  To: brettg@posteo.net; +Cc: 34772

Hi Brett,

"brettg@posteo.net" <brettg@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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#34772: Python tkinter
  2019-03-08  1:02   ` Timothy Sample
@ 2019-03-08  1:42     ` brettg
  2019-03-08  4:05       ` Timothy Sample
  0 siblings, 1 reply; 5+ messages in thread
From: brettg @ 2019-03-08  1:42 UTC (permalink / raw)
  To: Timothy Sample; +Cc: 34772



On 08.03.2019 02:02, Timothy Sample wrote:
> Hi Brett,
> 
> "brettg@posteo.net" <brettg@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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#34772: Python tkinter
  2019-03-08  1:42     ` brettg
@ 2019-03-08  4:05       ` Timothy Sample
  0 siblings, 0 replies; 5+ messages in thread
From: Timothy Sample @ 2019-03-08  4:05 UTC (permalink / raw)
  To: brettg; +Cc: 34772-done

Hi Brett,

brettg@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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-03-08  4:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-06 19:48 bug#34772: Python tkinter brettg
2019-03-07 20:39 ` brettg
2019-03-08  1:02   ` Timothy Sample
2019-03-08  1:42     ` brettg
2019-03-08  4:05       ` Timothy Sample

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).