title: Raspberry can't access /dev/mem
body: <p>I have installed Raspbian on my Raspberry and added in:</p>
  
  <ol>
  <li><p>/etc/rc.local:</p>
  
  <pre><code> chown /dev/ttyUSB0 #to allow current user to use 3G modem
  </code></pre></li>
  <li><p>/etc/sudoers:</p>
  
  <pre><code> raspbian ALL=NOPASSWD: ALL
  </code></pre></li>
  <li><p>And for autologin:</p>
  
  <pre><code> 1:2345:respawn:/sbin/getty --autologin raspbian --noclear 38400 tty1
  </code></pre></li>
  </ol>
  
  <p>Before I can use GPIO from Python to write to GPIO pins.</p>
  
  <p>Now when I try to run with sudo my Python script I receive an exception where is write that I can't access /dev/mem</p>
  
  <p>I tried to add "raspbian" user to group "kmem" but don't works.</p>
  
  <p>I tried to remove autologin and sudo without password, but also don't works.</p>
  
  <p>I tried with WiringPi from C, and with WiringPi works.</p>
  
  <p>Please help me to find a solution to use GPIO from python.</p>