Connect your Sense HAT and boot up the Pi.
First update and upgrade your system by entering the following commands into a Terminal window (while connected to the Internet):
sudo apt-get update sudo apt-get upgrade
Then install the Sense HAT software package:
sudo apt-get install sense-hat sudo pip3 install pillow
Finally, reboot the Pi to complete the installation: