GPIO mraa - No attribute 'Gpio'

Hello,

I am looking to use the GPIO on a Zero 3W. I followed the instructions in Mraa | Radxa Docs to install mraa. All the CLI commands worked, listing out all the pins, but when running the code, it failed to import mraa.

I moved the mraa folder into usr/lib/python3/dist-packages and the code ran, however, I got the error AttributeError: module 'mraa' has no attribute 'Gpio'

Any help would be appreciated, I hope someone has used mraa successfully. gpiod is a bit hard to use.

Thank you,
Nick

Apologies, I resolved it partially.

I git cloned the repository directly in the usr/lib/python3/dist-packages. Now I am having issues with setting some pins, but the library functions work for the most part.

EDIT: So I when listing gpio, pins 3,5,8, and 10 don’t have GPIO on the right, despite being named GPIO. But when listing using gpioinfo, it looks okay? Any help would be appreciated.