$sudo apt-get update $sudo apt-get install python-dev $sudo apt-get install python-rpi.gpio
安装:
$ sudo apt-get install python-setuptools $ sudo easy_install -U RPIO