Necessary Packages

Author Gravatar Image MIKEY SKLAR
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)
Copy Code
sudo apt-get install python-dev
Upgrade distribute (required for RPi.GPIO 0.3.1a) - [No image for this one]
Copy Code
sudo easy_install -U distribute
Install python-pip (Pip Installs Packages, python packages)
Copy Code
sudo apt-get install python-pip
Install rpi.gpio (0.3.1a) or later
Copy Code
sudo pip install rpi.gpio
Download EEML - markup language COSM accepts
Copy Code
wget -O geekman-python-eeml.tar.gz
Extract the EEML tarball
Copy Code
tar zxvf geekman-python-eeml.tar.gz
Change into the directory and install the EEML python package
Copy Code
cd geekman-python-eeml*
sudo python install
Last updated on 2014-04-06 at 08.04.28 AM Published on 2012-07-29 at 03.58.37 PM