What is the suggested RPi aarch64 Python GPIO library to use and how to set it up?
I tried pip install RPi.GPIO without any success:
[code]
$ uname -a
Linux pi3p2 6.8.9-1-aarch64-ARCH #1 SMP PREEMPT_DYNAMIC Sat May 4 06:41:28 MDT 2024 aarch64 GNU/Linux
$ python3
Python 3.12.3 (main, Apr 27 2024, 16:20:58) [GCC 12.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import RPi.GPIO as GPIO
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/user/python/venv/lib/python3.12/site-packages/RPi/GPIO/__init__.py", line 23, in <module>
from RPi._GPIO import *
RuntimeError: This module can only be run on a Raspberry Pi!
>>>
$ cat /proc/device-tree/model
Raspberry Pi 3 Model B Plus Rev 1.3$
[/code]