I’ve been following this video that introduces me to the GPIO pins and when I tried to run “GPIO.setup”, this error shown in the picture popped up. The video guide doesn’t have this error, and I tried trouble shooting myself; updating stuff. It didn’t work.
I am using a Raspberry Pi 5, 8GB RAM, RPi OS 64-Bit. Please ping me if you can help me with this. Thank you.
(No, the circuit is working fine, I already tested it by connecting the positive wire to a power GPIO pin.
(Skip to 31:14 for the coding part)
Video:
https://youtu.be/az90qK3jmDo?si=5hUPkMayZVIq48On