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

Troubleshooting • Re: Trouble with gpio Button instantiation in virtual environment.

$
0
0


Do I need to use the system Rpi.GPIO package instead of installing it into the venv?
A clear NO to that.

The RPI.GPIO library as shipped and installed with RasPiOS Bookworm is not functional on an RPi[5] board.

(There are workarounds, but I suggest moving forward with gpiozero as Raspberry Pi recommend.)

Statistics: Posted by B.Goode — Thu Jul 11, 2024 5:03 pm



Viewing all articles
Browse latest Browse all 4151

Trending Articles