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

With sudo everything works correctly