Is it a Pi5?
If so, you can't use the gpio library any more.
There are replacements available.
If using Bookworm (which you will be if it's a Pi5) activate your env first.
Open a terminal window and type :
If so, you can't use the gpio library any more.
There are replacements available.
If using Bookworm (which you will be if it's a Pi5) activate your env first.
Open a terminal window and type :
Code:
sudo apt-remove python3-rpi.gpiopip3 install rpi-lgpio
Statistics: Posted by MarkDH102 — Sun Jun 02, 2024 3:04 pm