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
    import RPi.GPIO as pigo - remember Python is case sensitive. – Dougie Jan 9 at 15:31
1

Python is case sensitive, use:

import RPi.GPIO as GPIO
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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