I'm try running a Python script that uses the GPIO pins but I get an error telling me that it doesn't have access to
dev/mem and I should try running as
I don't know how to run a Python script as
root, how do I do this?
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It only takes a minute to sign up.Sign up to join this community