Skip to main content
1 of 4
JoeyCK
  • 708
  • 1
  • 5
  • 10

Access GPIO pins without root. No access to /dev/mem. Try running as root!

I've made a python script using the RPi.GPIO library. I need to run it without root but I get this error when running it with "python ./script.py":

No access to /dev/mem. Try running as root!

I've read in many places that you no longer need root with the latest version of the library but I still get the error after updating. The version I have is RPi.GPIO 0.5.11

Thank you

JoeyCK
  • 708
  • 1
  • 5
  • 10