Have you confirmed your python isn't messed up ? Perhaps try a simple test something like:
import time print(time.localtime()) print(time.asctime(time.localtime())) -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/982f81fb-baa7-496c-a128-665f17b8f0d3o%40googlegroups.com.