Hello,
I’m trying to set up a python library for GPIO control on a Rock4C+ with debian bullseye, in a mini-forge environment and Python3.
So far I did not succeeded. I tried both libmraa and PyRock.
I successfully installed mraa so I have control/access to the GPIO info in the terminal.
But less success with the python library.
The ‘import mraa’ command seems to work, it doesn’t return an error.
Yet the library doesn’t work. Its commands such as mraa.GPIO() return error (for example “AttributeError: module ‘mraa’ has no attribute ‘GPIO’”).
Do you know how to properly install this python library in a mini-forge environment with python 3 ?
Thank you !