No module named RPi

Problem:
when you try to run the program, you face with error message "No module named 'RPi'"

Solution:
Install missing libraries following the next steps:
sudo apt-get install python-pip
sudo apt-get install python3-rpi.gpio   (on Python 3)
sudo 
pip freeze | grep RPi
sudo apt-get install picap

Source:
https://raspberrypi.stackexchange.com/questions/60774/importerror-no-module-named-rpi