To help debugging and allow the i2c interface to be used within Python we can install “python-smbus” and “i2c-tools” :
To do this, type the following commands one after the other:
sudo apt-get update
sudo apt-get install -y python-smbus
sudo reboot now
Voilà, it is not more complicated than that 🙂