Install Xively on Ubuntu — Python

//Install git to clone Xively Python repository
sudo apt-get install git
mkdir xively
cd xively
git clone git://

To test xively tutorial we need to install some dependencies:

sudo apt-get install python-setuptools
// if you have a version error, try:
sudo apt-get install python-pip
sudo pip install setuptools --no-use-wheel --upgrade ...
// if you have a version error, download latest setuptools:
tar -xvf default.tar.gz
cd pypa-setuptools-6ed8f0298e64/
sudo python install
sudo pip install requests

Than test the xively tutorial with the python example:

//Dont forget to put the script inside the xively folder