#!/usr/bin/env bash

apt-get update
sudo apt-get install -y python-setuptools
easy_install pip

#!/usr/bin/env bash

apt-get update
sudo apt-get install -y python-dev python-setuptools build-essential libffi-dev libcairo2-dev python-pip 
easy_install pip

Include packages for proper installation of cffi
Include packages for proper installation of cffi