You need to install lxml:
$ sudo aptitude install python-lxml
Or with easy_install:
$ easy_install lxml
If it fails, try this:
$ STATIC_DEPS=true easy_install lxml
I have a bootstrap script. So it’s easy.
See if it work:
$ cd $HOME
$ bin/hgapp serve hgapp.ini
If everything is OK then use the init.d script:
$ bin/init.d start