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

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

$
0
0
No because you're not using that, that's a 'shim' that makes calls to RPi.GPIO translate to lgpio commands made by waveshare/Dave. If gpiozero was using it, it would say rpigpio is being used.

You're lucky* that rpi-update didn't have anything that's broken in it :-). It doesn't have any fixes as it would be the virtual environment that stopped the 'lgpio pin factory' being seen until you opened it up to the system wide python modules (or you could install it in to the virtual environment).
Which I think is pip install lgpio but someone can clarify that. I can't test at the moment.

Anyway it's working and don't believe everything you read on stack exchange ;-)


*(not really it early breaks things)

Statistics: Posted by bensimmo — Sat Oct 12, 2024 12:10 pm



Viewing all articles
Browse latest Browse all 4909

Trending Articles