In my case, I had to install the following packages:
sudo apt-get update
sudo apt-get install python-dev python-setuptools gcc
sudo easy_install pip
sudo apt-get install libssl-dev libffi-dev
sudo pip install six==1.6.0
sudo pip install fabric
source
share