I have traied this tutoriel

But it gives me this error

I dont know what s the problem
pleaase give me ur help
thanksss


You can avoid that with GPIOzero.Navyscourge wrote: It looks like you need permission to set the GPIO pins state (i.e. sudo) but the best answer depends on how you are running the code.