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