BPI-R2 PRO GPIO config with python

Hello, for my project I need to use the Banana Pi R2-Pro GPIO and SPI functionalities. I am trying to install the RPi.GPIO python library but nothing seems to work. I run the Armbian bookworm desktop image. I tried the SINOVOIP/RPi.GPIO library (https://github.com/BPI-SINOVOIP/RPi.GPIO), and it fails to install with “error: command ‘/usr/bin/aarch64-linux-gnu-gcc’ failed with exit code 1”. Any suggestions on how to work around this issue? Thanks

If anyone is freelancing and interested to help me out with this, please DM!