Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 6971

Troubleshooting • Re: Issues with gpiozero on Pi 5 — No such file or directory: '/dev/gpiomem' & OSError: unable to determine gpio base

$
0
0
Ah I thought it was using RPi.GPIO ".. even though RPi.GPIO is incompatible with Pi 5.."
There are multiple "RPi.GPIO"; the one provided pre-installed with Bookworm which doesn't work with Pi 5 and has some problems with edge detection on earlier Pi, and Dave Jones' replacement which can be installed with -

Code:

sudo apt remove python3-rpi.gpiosudo apt install python3-rpi-lgpio
Then there's various 'pigpio', 'lgpio', 'gpiod', 'libgpiod', and all sorts of legacy stuff, to add to the mix and make everything confusing.

Statistics: Posted by hippy — Sun Oct 13, 2024 6:21 pm



Viewing all articles
Browse latest Browse all 6971

Trending Articles