To enable the Raspberry Pi to use the Pi Camera, we will use the raspi-config tool. Open this with the command
Navigate down this list with the up and down arrow keys and press enter when over the fifth option Enable Camera. Then press the right arrow key to select Enable and press enter again. Press right twice to select Finish then press enter twice to reboot your Pi for the change to take effect.