sense_play command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
sense_play: command not found
or when using sudo you get the following error message
sudo: sense_play: command not found
Solutions to sense_play: command not found
How To Fix sense_play: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu sense_play is provided by sense-emu-tools package.
sense-emu-tools is:
sense-emu is an emulator of the Raspberry Pi Sense HAT which runs on multiple platforms, and provides an emulation of each sensor on the HAT, along with the pixel display and the joystick. The API is exactly the same as the official API, meaning code developed against the emulator should require no more than a one word change to run on the actual HAT.
This is the tools (GUI and command line) for the emulator.
To fix this problem, we can install more using the command below.
sudo apt-get -y install sense-emu-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install sense-emu-tools.
sudo apt -y install sense-emu-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install sense-emu-tools
Summary
In this tutorial we learn how to fix sense_play command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.