I get the following error after changing from python 2 to 3. I'm using 
Weewx 4.1.1 I thought it may have been MQTT so I installed the latest 
version from https://github.com/weewx/weewx/wiki/mqtt



Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__: Caught 
unrecoverable exception:
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__:     ****  No 
module named 'paho'
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__:     ****  
Traceback (most recent call last):
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__:     ****    
File "/usr/share/weewx/weewxd", line 148, in main
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__:     ****      
engine = weewx.engine.StdEngine(config_dict)
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__:     ****    
File "/usr/share/weewx/weewx/engine.py", line 75, in __init__
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__:     ****      
self.loadServices(config_dict)
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__:     ****    
File "/usr/share/weewx/weewx/engine.py", line 138, in loadServices
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__:     ****      
obj = weeutil.weeutil.get_object(svc)(self,config_dict)
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__:     ****    
File "/usr/share/weewx/weeutil/weeutil.py", line 1093, in get_object
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__:     ****      
mod = __import__(module)
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__:     ****    
File "/usr/share/weewx/user/mqtt.py", line 100, in <module>
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__:     ****      
import paho.mqtt.client as mqtt
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__:     ****  
ModuleNotFoundError: No module named 'paho'
Sep 14 13:05:23 raspberrypi weewx[12183] CRITICAL __main__:     ****  
Exiting.

-- 
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/990fa7d9-f7ac-4516-96b2-8ef40a09f011n%40googlegroups.com.

Reply via email to