You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into an issue importing the tkinter module from the python standard library with the 3.5 image:
➜ thermal_shift git:(master) ✗ docker run --rm -it python:3.5 bash
root@ed2aa6dfd036:/# python
Python 3.5.1 (default, May 12 2016, 19:06:45)
[GCC 4.9.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tkinter
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.5/tkinter/__init__.py", line 35, in <module>
import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named '_tkinter'
Importing the module seems to work in python 3.4 though:
➜ thermal_shift git:(master) ✗ docker run --rm -it python:3.4 bash
root@555940af6c20:/# python
Python 3.4.5 (default, Aug 9 2016, 20:44:58)
[GCC 4.9.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tkinter
>>>
root@555940af6c20:/# exit
Any thoughts on what might be amiss would be great. Thanks in advance!
Hi everyone,
I ran into an issue importing the tkinter module from the python standard library with the 3.5 image:
Importing the module seems to work in python 3.4 though:
Any thoughts on what might be amiss would be great. Thanks in advance!