I have installed RPi.GPIO and can import it into a python script fine without a error but as soon as i try to manipulate any of the gpio's i always get a error saying
file "practice.py" line 5 in <module>
GPIO.setmode(GPIO.BOARD)
AttributeError: 'module' object has no attibute 'setmode'
my code is
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BOARD)
my version of RPi.GPIO is .o.5.4 the latest one i believe.
i have looked everywhere on the internet for a solution on what I'm doing wrong please help me :(