-
-
Save grammy-jiang/2ca3a34519b4c44f997ad56064a87ec5 to your computer and use it in GitHub Desktop.
Install Sense HAT on Raspberry Pi 2 with Ubuntu 20.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo -- sh -c "usermod --append --groups input video $USER" | |
echo "Install Sense-HAT" | |
sudo -- sh -c "apt install libjpeg-dev" | |
pip install pillow numpy sense-hat | |
echo "Install RTIMULib" | |
sudo -- sh -c "apt install python3-dev" | |
git clone https://github.com/RPi-Distro/RTIMULib.git | |
cd "./RTIMUlib/Linux/python" | |
python setup.py build | |
python setup.py install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Refer to: