Setup Raspberry Pi for WebIOPi & Python PiCamera

These are my setup notes for flashing the SD drive with the latest version of Raspbian and installing everything I need.

1. Use SDFormatter to wipe my SD card and format it for the Raspbian OS image. Download is here.

2. Use Win32DiskImager to write the OS image to your flash drive.

3. Fire the Pi up. You’ll need to have a screen connected via HDMI and a keyboard for the initial setup.

4. You’ll arrive at the Setup Options blue screen. First thing to do is Expand Filesystem. Check.

5. If you are located in the U.S.A like I am, you’ll want to set the Pi to a U.S. keyboard layout. It’s default is a UK style board and can cause a U.S. user some weirdness if not switched.
So, Follow Internationalazion Options => Change Timezone . I then selected U.S and then mountain timezone. Check.
Next, go back into Internationalazion Options => Change Keyboard Layout
  It can get a little tricky here so pay attention!
a. Pick your keyboard. I have a generic Dell so I just selected Dell and then OK.
b. The next section asks for Keyboard Layout – Pick “Other” and then Ok.
c. Now is another selection: Country of origin. Select English (US) and then Enter
d. Another Keyboard Layout Page !!!! Stay with us, almost done. Select the first option which is English (US) again and then Enter
e. Key to function as AltGr. Select “The Default for the keyboard layout”. Enter
f. Compose Key:. Select No compose Key.
g. Control Alt Backspace. Select your preference here. Yes or no.
h. Congratulations! You’ve selected your keyboard!!! Wooo hoooo.

6. Enable Camera if you are using the RPI Cam. This is done in the raspi-config tools.

7. Install RPI Cam Interface. ( )

** Note: If you don’t have GIT installed do it now.
sudo apt-get install git-core

git clone
cd RPi_Cam_Web_Interface
chmod u+x

./ install

8. Update your repository listings and Pi. At the command line type:
Sudo apt-get update  and then hit enter.
Sudo apt-get upgrade and then enter.
This might take awhile.


9. Install Python language additions. From …. While the RaspberryPi (& Raspian) run Python out-of-the-box, you’ll likely want some common packaging tools for more advanced development. The following gets you some common Python tools (distribute for packaging, pip for easy installation/removal of packages & virtualenv for nice isolated environments):

  • sudo apt-get install python-setuptools
    sudo easy_install pip
    sudo pip install virtualenv

10 . Install Python PiCamera if you have the RPI Camera.

sudo apt-get install python-picamera

The documentation for the Python PiCamera is located here.

Leave a Reply