title: Install tkinter  and python locally
body: <p>I work with linux on a servies. And I don't have the root privilege. I installed the python-3.2.3 locally to "/home/sam/install_sam".  when I import the tkinter module. I get the following error:</p>
  
  <pre><code>ImportError: No module named _tkinter, please install the python-tk package
  </code></pre>
  
  <p>I know I need to install the Tkinter module. because I don't have the root privilege. I can't use like the  following commands:    </p>
  
  <pre><code>apt-get install python-tk
  sudo apt-get install python-tk
  </code></pre>
  
  <p>And I search on goolge. <strong>I get tcl/tk from</strong> <a href="http://www.tcl.tk/software/tcltk/download.html" rel="noreferrer">here</a>. I install them use the following commands.    </p>
  
  <pre><code>cd ~/Downloads/tcl8.5.11/unix
  ./configure --prefix=/home/sam/install_sam/tcl
  make
  make install
  
  cd ~/Downloads/tk8.5.11/unix
  ./configure --prefix=/home/sam/install_sam/tk 
              --with- tcl=/home/sam/Downloads/tcl8.5.11/unix
  make
  make install
  
  cd ~/Downloads/Python3.2.3/
  export LD_LIBRARY_PATH=/home/sam/install_sam/tcl/lib:/home/sam/install_sam/tk/lib
  export LD_RUN_PATH=/home/sam/install_sam/tcl/lib:/home/sam/install_sam/tk/lib
  ./configure --prefix=/home/sam/install_sam/python 
  make
  make install
  </code></pre>
  
  <p>I still got error: <strong>INFO: Can't locate Tcl/Tk libs and/or headers</strong>. How should I config the tcl/tk for the python   </p>