sudo raspi-config

select "3 Interface Options" and hit enter select "P5 I2C" and hit enter then go to finish and reboot.