title: How to get tkinter working with Ubuntu's default Python 2.7 install?
body: <p>I'm using Ubuntu 11.10, which came pre-installed with Python 2.7.3.</p>
  
  <p>I installed the python3 package, and the python3-tk package, via apt-get install, and they worked together "out of the box".</p>
  
  <p>But though I've installed the python-tk package, I can't figure out how to get Python2.7 to see it. I get the error message below when I try to import it.</p>
  
  <pre><code>import Tkinter
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "/usr/local/lib/python2.7/lib-tk/Tkinter.py", line 39, in &lt;module&gt;
      import _tkinter # If this fails your Python may not be configured for Tk
  ImportError: No module named _tkinter
  </code></pre>
  
  <p>edit: I also ran the following based on <a href="https://stackoverflow.com/questions/11043844/python-tk-package-not-recognized-in-python-2-7-3">Python-tk package not recognized in Python 2.7.3</a>, and got:</p>
  
  <pre><code>$ file /usr/lib/libtk8.5.so.0
  /usr/lib/libtk8.5.so.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
  
  $ uname -a
  Linux bugbot 3.0.0-23-generic-pae #39-Ubuntu SMP Thu Jul 19 19:39:19 UTC 2012 i686 i686 i386 GNU/Linux
  </code></pre>