GPIO environment problems

Section 1.

Shown below are the displayed errors trying to turn an led on a circuit board using Note this file worked as programmed prior to me executing the commands listed in Section 3.

The errors displayed after running python3 are shown in Section 2.
import RPi.GPIO as GPIO
import time
GPIO.output(7,True) # GPIO.output(7,1)
time.sleep (20)

Section 2.

Traceback (most recent call last):
File “/usr/local/lib/python3.6/dist-packages/Jetson.GPIO-2.1.6-py3.6.egg/Jetson/GPIO/”, line 147, in chip_open
PermissionError: [Errno 13] Permission denied: ‘/dev/gpiochip1’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “”, line 5, in
File “/usr/local/lib/python3.6/dist-packages/Jetson.GPIO-2.1.6-py3.6.egg/Jetson/GPIO/”, line 360, in setup
File “/usr/local/lib/python3.6/dist-packages/Jetson.GPIO-2.1.6-py3.6.egg/Jetson/GPIO/”, line 155, in _do_one_channel
File “/usr/local/lib/python3.6/dist-packages/Jetson.GPIO-2.1.6-py3.6.egg/Jetson/GPIO/”, line 184, in chip_open_by_label
File “/usr/local/lib/python3.6/dist-packages/Jetson.GPIO-2.1.6-py3.6.egg/Jetson/GPIO/”, line 158, in chip_check_info
File “/usr/local/lib/python3.6/dist-packages/Jetson.GPIO-2.1.6-py3.6.egg/Jetson/GPIO/”, line 149, in chip_open
Jetson.GPIO.gpio_cdev.GPIOError: [Errno 13] Opening GPIO chip: Permission denied

Section 3

The term command line commands that caused the errors are shown below:
git clone -b v2.0.21 GitHub - forecr/jetson-gpio

You can use this library directly but there could be a conflict between pre-installed library.

To solve this, copy “jetson-gpio/lib/python/Jetson/GPIO/” file over the pre-installed library.

cd jetson-gpio

  1. sudo mv /usr/lib/python2.7/dist-packages/Jetson/GPIO/ /usr/lib/python2.7/dist-packages/Jetson/GPIO/

  2. sudo mv /usr/lib/python3/dist-packages/Jetson/GPIO/ /usr/lib/python3/dist-packages/Jetson/GPIO/

  3. sudo cp lib/python/Jetson/GPIO/ /usr/lib/python2.7/dist-packages/Jetson/GPIO/

  4. sudo cp lib/python/Jetson/GPIO/ /usr/lib/python3/dist-packages/Jetson/GPIO/

Warmly, Bob

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.

I have no idea what you are doing here.
Anyone told you to do this?