title: Installing lxml module in python
body: <p>while running a python script, I got this error</p>
  
  <pre><code>  from lxml import etree
  ImportError: No module named lxml
  </code></pre>
  
  <p>now I tried to install lxml</p>
  
  <pre><code>sudo easy_install lmxl
  </code></pre>
  
  <p>but it gives me the following error</p>
  
  <pre><code>Building lxml version 2.3.beta1.
  NOTE: Trying to build without Cython, pre-generated 'src/lxml/lxml.etree.c' needs to be available.
  ERROR: /bin/sh: xslt-config: not found
  
  ** make sure the development packages of libxml2 and libxslt are installed **
  </code></pre>
  
  <p>Using build configuration of libxslt </p>
  
  <pre><code>src/lxml/lxml.etree.c:4: fatal error: Python.h: No such file or directory
  compilation terminated.
  error: Setup script exited with error: command 'gcc' failed with exit status 1
  </code></pre>