Error Loading RPi.GPIO Python Library

RuntimeError: This module can only be run on a Raspberry Pi!

แก้โดย
sudo apt-get update
sudo apt-get install python-pip
sudo pip install -U RPi.GPIO


<a href="https://blog.adafruit.com/2015/02/05/how-to-fix-error-loading-rpi-gpio-python-library-on-your-brand-new-raspberry-pi-2/">credit</a>