Hello,
I am trying to add a user to be able to use the gpio pins on the jetson nano. I have followed the instructions on other posts from this forum but I have had no luck.
“RuntimeError: The current user does not have permissions set to access the library functionalites. Please configure permissions or use the root user to run this”.
I have been able to use the gpio when I set the user to root but I really want to be able to add other users to the group.
I am using the Jetson nano devkit.
My Jetpack version is - nvidia-jetpack Version: 4.6.3-b17
I have tried the solution in the link you mentioned and it did not work for me.
here is the full error message that I get after trying to run my script:
Traceback (most recent call last):
File "/home/jetson/Documents/test.py", line 1, in <module>
import RPi.GPIO as GPIO
File "/usr/lib/python3/dist-packages/RPi/GPIO/__init__.py", line 1, in <module>
from Jetson.GPIO import *
File "/usr/lib/python3/dist-packages/Jetson/GPIO/__init__.py", line 1, in <module>
from .gpio import *
File "/usr/lib/python3/dist-packages/Jetson/GPIO/gpio.py", line 33, in <module>
raise RuntimeError("The current user does not have permissions set to "
RuntimeError: The current user does not have permissions set to access the library functionalites. Please configure permissions or use the root user to run this
-rw-rw-r-- 1 jetson jetson 756 Jun 9 17:40 test.py
I have noticed that when I switch to the admin user (sudo su) I am able to run the script. But I still want to know why I can’t add users to the the gpio permissions.