Full Version: ImportError: No module named RPi.GPIO
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can you help me?
I 've just bought a raspberry with an electronic starter kit for raspberry called Monkmakes.
I installed Xbian on Raspberry, and now I want to try some programs to controll GPIO.
I downloaded a set of programs by their site.
One of this program is
import RPi.GPIO as GPIO
import time

# Configure the Pi to use the BCM (Broadcom) pin names, rather than the pin pos$

red_pin = 18

GPIO.setup(red_pin, GPIO.OUT)

    while True:
        GPIO.output(red_pin, True)  # LED on
        time.sleep(0.5)             # delay 0.5 seconds
        GPIO.output(red_pin, False) # LED off
        time.sleep(0.5)             # delay 0.5 seconds
    print("Cleaning up")

I attempt to launch this code
but there is this message:

Traceback (most recent call last):
  File "", line 5, in <module>
    import RPi.GPIO as GPIO
ImportError: No module named RPi.GPIO
Then I followed this guide
Method 2 – Manual Installation

but nothing is changed

I don't understand what I must do and I don't know the version of python, and the last version of RPi.GPIO-0.5.11
Is anyone?
I have the same issue today! Researching it now....
Reference URL's