Because creating a venv is a chore, and one more step I could do without. And choosing a pin factory other than the default is also a chore. Yes, I aspire to be lazy, as all good programmers should.Why would you compile anything?
You just use pip to install the module to your virtual environment.
Anyway, you could change the pin factory and see which of them works better for you in gpiozero (just for testing).
---
Also is anyone able to give the OS people a nudge to update it for the general OS use, they still don't seem to have updated it.as you've found out.
(For when we can be lazy and use the system wide one)
On my Pi 1 gpiozero has chosen the lgpio factory.
My goal is still Pi-agnostic GPIO. The two options are gpiozero and gpiod. Unfortunately, gpiozero eats CPU, and gpiod needs a venv.
I'll test gpiod in a venv (I have v2.2.1) and see how much CPU it eats.
Statistics: Posted by ame — Tue Feb 25, 2025 5:37 am