Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
@lexu To use RPi.GPIO without being root /dev/gpiomem needs to exist with the correct permissions and the user (default pi) needs to be a member of group gpio.
cat /etc/os-release
anduname -a
?