Skip to content
This repository has been archived by the owner on Dec 24, 2022. It is now read-only.

Python2-Tk seems broken #94

Open
gasinvein opened this issue Apr 19, 2018 · 3 comments
Open

Python2-Tk seems broken #94

gasinvein opened this issue Apr 19, 2018 · 3 comments

Comments

@gasinvein
Copy link
Member

Tkinter module not working:

Python 2.7.12 (default, Feb 17 2018, 16:52:07) 
[GCC 6.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Tkinter
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 39, in <module>
    import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter

I guess it's because lib-dynload/_tkinter.so is missing.

@TingPing
Copy link
Member

I don't think tcl/tk belong in fdo, so you'd need to build it yourself.

@gasinvein
Copy link
Member Author

As far as I know, Tkinter is a builtin python's module, so I have to build python myself.

@TingPing
Copy link
Member

It is a bit unfortunate because of the build time but not overly difficult.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants