View Full Version : [ubuntu] Can't find _tkinter

March 3rd, 2011, 11:16 PM
Hello All,

I want to run Python with Tk, but I am getting the following error:

# python
Python 2.7.1 (r271:86832, Mar 1 2011, 10:51:28)
[GCC 4.4.5] 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/local/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

This post was moved to Repositories and Backports ...