Linux installation is very straightforward. You only need:
- Python 3
- pip
- LibUSB HIDAPI library
You first install venv and activate it:
python3 -m venv venv
source venv/bin/activateThen you install the dependencies:
pip install -r requirements.txtThe main difference is the LibUSB HIDAPI installation, which is really simple if your distribution has the package in its repository.
For example, on Debian 12 you can simply run the following command:
sudo apt-get install libhidapi-libusb0and you are ready to go! If you are using a different distribution, with a different package manager, the package name might be different.
Don't forget to activate the virtual environment first:
source venv/bin/activateThen you can run the script by:
python start.py