1) connect -ve of led to pin 6 (ground)
2) connect +ve of led to pin 8 (GPIO 14 TXD)
import RPi.GPIO as GPIO
import time
reset_pin = 8
GPIO.setmode(GPIO.BOARD)
GPIO.setup(reset_pin, GPIO.OUT)
GPIO.output(reset_pin, GPIO.HIGH)
time.sleep(1)
GPIO.output(reset_pin , GPIO.LOW)
sudo pip3 install rpi