sudo easy_install pip
pip install appdirs
pip install requests --upgrade

sudo apt-get update
sudo apt-get install python3-setuptools
sudo easy_install3 pip
sudo mv /usr/local/bin/pip /usr/local/bin/pip3
pip3 install appdirs
pip3 install requests --upgrade

Make it work for Python 3
Make it work for Python 3