title: Add GPS to Your Raspberry Pi Project with Google Maps Pubnub
body: <p>(I'm following this tutorial : <a href="https://www.pubnub.com/blog/raspberry-pi-gps-lte-google-maps-api/" rel="nofollow noreferrer">https://www.pubnub.com/blog/raspberry-pi-gps-lte-google-maps-api/</a> and I use a Raspberry pi 4 model B connected trough wifi )</p>
  <p>I carefully followed all steps carefully untill I tried to run the modified gps_simpletest.py file. When I try to run it I get the following error:</p>
  <pre><code>Traceback (most recent call last):
    File &quot;/usr/lib/python3/dist-packages/serial/serialposix.py&quot;, line 323, in _rec                                                                                                         onfigure_port
      orig_attr = termios.tcgetattr(self.fd)
  termios.error: (5, 'Input/output error')
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File &quot;gps_simpletest.py&quot;, line 21, in &lt;module&gt;
      uart = serial.Serial(&quot;/dev/ttyS0&quot;, baudrate=9600, timeout=10)
    File &quot;/usr/lib/python3/dist-packages/serial/serialutil.py&quot;, line 240, in __ini                                                                                                         t__
      self.open()
    File &quot;/usr/lib/python3/dist-packages/serial/serialposix.py&quot;, line 272, in open
      self._reconfigure_port(force_update=True)
    File &quot;/usr/lib/python3/dist-packages/serial/serialposix.py&quot;, line 326, in _rec                                                                                                         onfigure_port
      raise SerialException(&quot;Could not configure port: {}&quot;.format(msg))
  serial.seria
  </code></pre>
  <p>I'm pretty sure I installed all modules, libraries, ....
  Any help would be much appreciated!<br>Thanks in advance</p>