I had a CHIP-machine running Weewx sending data to a MQTT-broker on a separate server. The CHIP went down, and I had to reinstall weewx on a RPI Zero. I copied the old weewx.conf I had on the CHIP, and now weewx reports that there is no mqtt module.
Traceback (most recent call last):
File "/usr/share/weewx/weewxd", line 264, in <module>
main()
File "/usr/share/weewx/weewxd", line 151, in main
engine = weewx.engine.StdEngine(config_dict)
File "/usr/share/weewx/weewx/engine.py", line 93, in __init__
self.loadServices(config_dict)
File "/usr/share/weewx/weewx/engine.py", line 161, in loadServices
obj = weeutil.weeutil.get_object(svc)(self, config_dict)
File "/usr/share/weewx/weeutil/weeutil.py", line 1093, in get_object
mod = __import__(module)
ImportError: No module named mqtt