OSMC raspDAC overlays gpio-shutdown pin 17 &22

What about:

sudo pip3 install gpiozero

You’ll need the python3-pip package for this.