1

I run Thonny on a pi zero.(i am a beginner) want to activate gpio i get an error" import rpi.gpio as pigo, modulenotfounderror: no module name 'rpi'. i have update library. still not working.

1
  • 1
    import RPi.GPIO as pigo - remember Python is case sensitive.
    – Dougie
    Commented Jan 9, 2020 at 15:31

1 Answer 1

1

Python is case sensitive, use:

import RPi.GPIO as GPIO
0

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.