In general, two important libraries are needed to run this script:
1. pigpiod
2. Python
==For Raspbian / RetroPie / Twister OS v2.0.2 ==
We strongly recommend that '''DON'T use Raspberry Pi OS Lite version''', It will lack some dependent software by default, unless you are a linux proficient, you can install some dependent software yourself