bug#34772: Python tkinter

2019-03-07 Thread Timothy Sample
Hi Brett,

bre...@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#34772: Python tkinter

2019-03-07 Thread brettg




On 08.03.2019 02:02, Timothy Sample wrote:

Hi Brett,

"bre...@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






bug#34772: Python tkinter

2019-03-07 Thread Timothy Sample
Hi Brett,

"bre...@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





bug#34772: Python tkinter

2019-03-07 Thread bre...@posteo.net
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





bug#34772: Python tkinter

2019-03-06 Thread brettg

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