title: serial.serialutil.SerialException: could not open port /dev/ttyAMA0: [Errno 13] Permission denied: '/dev/ttyAMA0'
body: <p>I have a Raspberry that I am trying to connect to a Ubidots IOT cloud but I got this error:</p>
  
  <pre><code>pi@raspberrypi:~/Downloads/raspbiDaniela/Ver 2016/ZonrProject $ python main.py
      Traceback (most recent call last):
        File "main.py", line 124, in &lt;module&gt;
          main()
        File "main.py", line 21, in main
          ser = serial.Serial(port=port, baudrate=baud)
        File "/usr/lib/python2.7/dist-packages/serial/serialutil.py", line 261, in __init__
          self.open()
        File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 278, in open
          raise SerialException("could not open port %s: %s" % (self._port, msg))
      serial.serialutil.SerialException: could not open port /dev/ttyAMA0: [Errno 13] Permission denied: '/dev/ttyAMA0'
  </code></pre>