No module named RPi. GPIO

WebIDE 설치 후 Adafruit_LEDpixels.py 를 실행하였는데 다음가 같은 에러가 발행!!!

webide@raspberrypi ~/repositories/Adafruit-Raspberry-Pi-Python-Code/Adafruit_LEDpixels $ su
do python Adafruit_LEDpixels.py
Traceback (most recent call last):
  File ”Adafruit_LEDpixels.py”, line 5, in <module>
    import RPi.GPIO as GPIO, time, os
ImportError: No module named RPi.GPIO
검색 결과 RPi.GPIO 설치가 되지 않아 발생한 에러였다.
라즈베리파이에서 아래와 같이 설치 한다.
pi@raspberrypi ~/ sudo apt-get install python-dev
pi@raspberrypi ~/ tar xzvf  xzvf RPi.GPIO-0.4.1a.tar.gz
pi@raspberrypi ~/ cd RPi.GPIO-0.4.1a
pi@raspberrypi ~/ sudo python setup.py install

Adafruit Learning System Raspberry Pi WebIDE

Raspberry Pi WebIDE 설치.

http://learn.adafruit.com/webide/getting-started   문서 참조 하여 설치 하였다.

curl 사용하여 WebIDE 설치 하고  Bitbucket 가입 후 Manage Account->Integrated Applications 페이지에서 ‘Add Consumer’ 버튼을 클릭 하여

이름 써주고 key와 secret 값을 받아 설치한 webIDE 에 입력해 주면 된다.

 

WebIDE가 설치되면 라즈베리 하드웨어를 웹브라우저 상에서 개발할 수 있다.

소스는Bitbucket 서버에 저장 된다.

웹에서 개발 하기 때문에 여러 사람이 팀을 이루어 작업 할 수도 있다.

 

http://howto.homelinux.com:3000/

Raspberry Pi WebIDE

 

The Adafruit team has been hard at work on a new programming tool for the Raspberry Pi: WebIDE. It launched today and is live and available. This is similar to the Beaglebone’s Cloud9 IDE/Node.JS/Bonescript solution, but seems friendlier; point your web browser at the Pi and start programming (well, almost).

 

http://www.adafruit.com/blog/2012/10/05/the-adafruit-learning-system-raspberry-pi-webide-is-ready-for-testing-piday-raspberrypi-raspberry_pi/

 

http://learn.adafruit.com/webide