My code 
  def decode(self, input, final=False):
       # decode input (taking the buffer into account)
       data = self.buffer + input
       (result, consumed) = self._buffer_decode(data, self.errors, final)
       # keep undecoded input until the next call
       self.buffer = data[consumed:]
       return result
   
   
  I am getting similar error and i am quite new to this ,how can i fix this ?
Error
  File "./load_dap_templates_dave.py", line 284, in <module>
    data = pickle.load(neFile)
  File "/usr/local/lib/python3.7/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte
Thanks in advance