NVIDIA/jetson-gpio

Same permissions problem

sumitbounthiyal opened this issue · 7 comments

import Jetson.GPIO
Traceback (most recent call last):
File "", line 1, in
File "/home/nvidia/.virtualenvs/cv/lib/python3.5/site-packages/Jetson/GPIO/init.py", line 1, in
from .gpio import *
File "/home/nvidia/.virtualenvs/cv/lib/python3.5/site-packages/Jetson/GPIO/gpio.py", line 33, in
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

I am having the same problem with the code when I run sample code from File.
Please help me on this.

You can run command :
$ sudo python3 your_file.py

in stead:
$ python3 your_file.py

Uploading 20230329_231144.jpg…
Same error is coming with python3 also

My problem is similar like #2

I am getting the same error. gotta do something... im gonna try rerun this package with its previous version. will let u know when things get working for me.. admin pls respond to this bug

Did you install the udev rules before running the command