Mopidy-Raspberry-GPIO does not support Python 3.7+, as far as we know.
Mopidy-Raspberry-GPIO package from
sudo python -m pip install Mopidy-Raspberry-GPIO
Frontend for controlling Mopidy from GPIO signals on a Raspberry Pi.
This plugin is used by Pimoroni’s Pirate Audio DACs to play/pause, skip track, and adjust volume.