Runtimeerror: Ustaw tryb numeracji pinów za pomocą gpio.setMode (gpio.board) lub gpio.setMode (gpio.bcm)

For me, the problem was that I was calling GPIO.cleanup()
Flyhouse_Squarewheel