This tutorial may be outdated. It is no longer recommended for beginners, and may need modifications to code or hardware that is not indicated in the tutorial.

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)
Download: file
sudo apt-get install python-dev
Upgrade distribute (required for RPi.GPIO 0.3.1a) - [No image for this one]
Download: file
sudo easy_install -U distribute
Install python-pip (Pip Installs Packages, python packages)
Download: file
sudo apt-get install python-pip
Install rpi.gpio (0.3.1a) or later
Download: file
sudo pip install rpi.gpio
Download EEML - markup language COSM accepts
Download: file
wget -O geekman-python-eeml.tar.gz https://github.com/geekman/python-eeml/tarball/master
Extract the EEML tarball
Download: file
tar zxvf geekman-python-eeml.tar.gz
Change into the directory and install the EEML python package
Download: file
cd geekman-python-eeml*
sudo python setup.py install
This guide was first published on Jul 29, 2012. It was last updated on Jul 29, 2012. This page (Necessary Packages) was last updated on Nov 19, 2015.