samaneh
samaneh

Reputation: 31

ImportError :No module named RPI.GPIO

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.

The code

Upvotes: 3

Views: 3494

Answers (1)

Reynard Asis
Reynard Asis

Reputation: 483

Try import RPi.GPIO. it's small letter i. source https://sourceforge.net/p/raspberry-gpio-python/wiki/BasicUsage/

Upvotes: 2

Related Questions