Reputation: 31
I use Raspberry pi3 model B, I have installed RPI.GPIO successfully with both code (pip install, sudo apt-get install) that you see bellow, but when I tried import RPI.GPIO
it says:
ImportError: No module named RPI.GPIO
What should I do?
Thank you in advance for your help.
Upvotes: 3
Views: 3494
Reputation: 483
Try import RPi.GPIO
. it's small letter i
. source https://sourceforge.net/p/raspberry-gpio-python/wiki/BasicUsage/
Upvotes: 2