i am trying to use python shell to turn ON a LED ,connected on port 4,i have installed GPIO to the pi but still i am getting this error plz help enter image description here

1 Answer 1


It looks like you wrote 'setpu' instead of 'setup' on line 3.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.