See https://github.com/weewx/weewx/wiki/faq-python-error

You have a variety of options:

   - find a later version of the driver/extension that supports python3
   - patch your copy to be python3 compliant using 2to3
   - use python2 for your installation

In your particular case it looks like the second option is pretty trivial.

Change the offending line to be
     except Exception as e:

And see if that works ok...

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/772036fc-0e91-4d65-b109-9621ee0e4802n%40googlegroups.com.

Reply via email to