Necessary Packages

Please Note: Xively no longer has free developer access to their system, so this tutorial is only for historical research. Please check out our other IoT tutorials for alternative services!
This guide is based on Debian's "Wheezy" release for Raspberry Pi. It was made available in Mid July 2012. The following items must be installed in order to utilize the Raspberry Pi's GPIO pins and to upload data to COSM. 

Add the latest dev packages for Python (2.x)
sudo apt-get install python-dev
Upgrade distribute (required for RPi.GPIO 0.3.1a) - [No image for this one]
sudo easy_install -U distribute
Install python-pip (Pip Installs Packages, python packages)
sudo apt-get install python-pip
Install rpi.gpio (0.3.1a) or later
sudo pip install rpi.gpio
Download EEML - markup language COSM accepts
wget -O geekman-python-eeml.tar.gz https://github.com/geekman/python-eeml/tarball/master
Extract the EEML tarball
tar zxvf geekman-python-eeml.tar.gz
Change into the directory and install the EEML python package
cd geekman-python-eeml*
sudo python setup.py install
Last updated on Nov 19, 2015 Published on Jul 29, 2012