If you getting error when running sudo pip install, you probably need to install python installer first, by default xubuntu/ubuntu comes with python program but it doesn't come with python installer a.k.a pip.
How to install pip on xubuntu
- open command line/terminal on xubuntu
- run update command
sudo apt-get update
sudo apt-get install python-pip