Install package for uwsgi:
apt-get install python-pip libxml2 python-dev
Install python packages:
pip install uwsgi uwsgi-manager