title: How to install PIL with Freetype?
body: <p>I wanted to put django-simple-captcha in my project but it cannot create images for the CaptchaField. It says "No module named _imagingft"</p>
  
  <p>I am using Ubuntu 11.04</p>
  
  <p>I installed libfreetype6 and libfreetype6-dev by apt-get install</p>
  
  <p>then I downloaded PIL 1.1.6 and changed </p>
  
  <pre><code>FREETYPE_ROOT = "/usr/local/include"
  </code></pre>
  
  <p>then I built PIL</p>
  
  <pre><code>python setup.py build
  </code></pre>
  
  <p>then install it</p>
  
  <pre><code>python setup.py install
  </code></pre>
  
  <p>I still cannot import _imagingft and my page still does not display the captcha image. it only shows</p>
  
  <pre><code>captcha &lt;input box&gt;
  </code></pre>