Wifi sensor comminicaion

Hi guys;
I want to send data from jetson nano to arduino over nrf24l01. But I am getting an error while compiling the code. Can you help me?

my code:
import RPi.GPIO as GPIO
from lib_nrf24 import NRF24
import spidev
from time import sleep
pipes=[[0xF0,0xF0,0xF0,0xF0,0xE1], [0xF0, 0xF0, 0xF0, 0xF0, 0xE1]]
radio = NRF24(GPIO,spidev.SpiDev())
radio.begin(0,17)

radio.setPayloadSize(32)
radio.setChannel(0x76)
radio.setDataRate(NRF24.BR_1MBPS)
radio.setPALevel(NRF.PA_MIN)

radio.openReadingPipe(1,pipes[0])
radio.printDetails()
radio.startListening()
while True:
while not radio.available(0):
sleep(1/100)
alinan =
radio.read(receiveMessage,radio.getDynamicPayloadSize())
print (“Alinan : {}”.format(alinan))
veri=""
for i in alinan:
if(i>=32 and i<=126):
veri +=chr(i)
print(“Gelen mesaj : {}”.format(veri))

error:
Traceback (most recent call last):
File “hbr1.py”, line 7, in
radio.begin(0,17)
RuntimeError: Please set pin numbering mode using GPIO.setmode(GPIO.BOARD), GPIO.setmode(GPIO.BCM), GPIO.setmode(GPIO.TEGRA_SOC) or GPIO.setmode(GPIO.CVM)

hello ynscmgzl,

could you please refer to GitHub - NVIDIA/jetson-gpio: A Python library that enables the use of Jetson's GPIOs for the samples that enables the use of Jetson’s GPIOs.
thanks