# GPIO does not work using jetson-gpio python library

**URL:** <https://forums.developer.nvidia.com/t/gpio-does-not-work-using-jetson-gpio-python-library/267898>\
**Category:** Jetson Xavier NX\
**Tags:** gpio\
**Created:** [September 28, 2023, 12:52pm UTC](https://forums.developer.nvidia.com/t/gpio-does-not-work-using-jetson-gpio-python-library/267898 "2023-09-28T12:52:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![saxosun](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@saxosun](https://forums.developer.nvidia.com/u/saxosun)\
**Post date:** [September 28, 2023, 12:52pm UTC](https://forums.developer.nvidia.com/t/gpio-does-not-work-using-jetson-gpio-python-library/267898/1 "2023-09-28T12:52:34Z")

</div>

Hello,  
I have installed the jetson-gpio library on my jetson xavier nx. I was tryind to run some example files of the samples folder. Unfortunately, I got always the same error message:

amr@moto:~/Downloads/jetson-gpio/samples$ sudo python3 test\_all\_pins.py  
Testing pin 7 as OUTPUT; CTRL-C to test next pin  
Traceback (most recent call last):  
File “test\_all\_pins.py”, line 89, in   
GPIO.setup(pin, GPIO.OUT)  
File “/usr/local/lib/python3.7/dist-packages/Jetson.GPIO-2.1.3-py3.7.egg/Jetson/GPIO/gpio.py”, line 360, in setup  
File “/usr/local/lib/python3.7/dist-packages/Jetson.GPIO-2.1.3-py3.7.egg/Jetson/GPIO/gpio.py”, line 155, in \_do\_one\_channel  
File “/usr/local/lib/python3.7/dist-packages/Jetson.GPIO-2.1.3-py3.7.egg/Jetson/GPIO/gpio\_cdev.py”, line 189, in chip\_open\_by\_label  
Exception: tegra194-gpio: No such gpio device registered

Any suggestions to solve the issue is appreiated.  
Thanks  
Salvatore

---

<div class="post-metadata">

**Author:** ![KevinFFF](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/kevinfff/32/15508_2.png) [@KevinFFF](https://forums.developer.nvidia.com/u/KevinFFF)\
**Post date:** [October 2, 2023, 6:31am UTC](https://forums.developer.nvidia.com/t/gpio-does-not-work-using-jetson-gpio-python-library/267898/3 "2023-10-02T06:31:32Z")

</div>

Hi saxosun,

Are you using the devkit or custom board for Xavier NX?  
What’s your Jetpack version in use?

Do you refer to the following instruction step-by-step to setup Jetson GPIO?  
[GitHub - NVIDIA/jetson-gpio: A Python library that enables the use of Jetson’s GPIOs](https://github.com/NVIDIA/jetson-gpio)  
especially the [Setting User Permissions](https://github.com/NVIDIA/jetson-gpio#setting-user-permissions) part.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [October 25, 2023, 7:17am UTC](https://forums.developer.nvidia.com/t/gpio-does-not-work-using-jetson-gpio-python-library/267898/5 "2023-10-25T07:17:54Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
