In order for  the Raspberry Pi to be able to send data to the Thingspeak account, a couple of libraries need to be installed. Open up the terminal and enter the following

  • Sudo pip3 install smbus2
  • Sudo pip3 install Rpi.bme280

After the libraries have finished installing, reboot the Pi to finish the process

To learn more about the libraries and what they can do, visit their project pages