Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

tkinter broken in python3.5 image #145

Copy link
Copy link

Description

@schultzmattd
Issue body actions

Hi everyone,

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!

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.