Perhaps you installed the python2 version instead of the python3 version. On Monday, May 4, 2020 at 7:57:57 AM UTC-4, David Schmidt wrote: > > Hi there, > I installed paho-mqtt et all as per this guide: > https://github.com/weewx/weewx/wiki/mqtt > Now when I start the service I get this: > > May 04 13:53:28 raspberrypi python3[984]: weewx[984] CRITICAL __main__: > Caught unrecoverable exception: > May 04 13:53:28 raspberrypi python3[984]: weewx[984] CRITICAL > __main__: **** No module named 'paho' > May 04 13:53:28 raspberrypi python3[984]: weewx[984] CRITICAL > __main__: **** Traceback (most recent call last): > May 04 13:53:28 raspberrypi python3[984]: weewx[984] CRITICAL > __main__: **** File "/usr/share/weewx/weewxd", line 148, in main > May 04 13:53:28 raspberrypi python3[984]: weewx[984] CRITICAL > __main__: **** engine = weewx.engine.StdEngine(config_dict) > May 04 13:53:28 raspberrypi python3[984]: weewx[984] CRITICAL > __main__: **** File "/usr/share/weewx/weewx/engine.py", line 75, $ > n __init__ > May 04 13:53:28 raspberrypi python3[984]: weewx[984] CRITICAL > __main__: **** self.loadServices(config_dict) > May 04 13:53:28 raspberrypi python3[984]: weewx[984] CRITICAL > __main__: **** File "/usr/share/weewx/weewx/engine.py", line 138, > in loadServices > May 04 13:53:28 raspberrypi python3[984]: weewx[984] CRITICAL > __main__: **** obj = weeutil.weeutil.get_object(svc)(self,confi$ > _dict) > May 04 13:53:28 raspberrypi python3[984]: weewx[984] CRITICAL > __main__: **** File "/usr/share/weewx/weeutil/weeutil.py", line 1$ > 93, in get_object > May 04 13:53:28 raspberrypi python3[984]: weewx[984] CRITICAL > __main__: **** mod = __import__(module) > May 04 13:53:28 raspberrypi python3[984]: weewx[984] CRITICAL > __main__: **** File "/usr/share/weewx/user/mqtt.py", line 94, in< > module> > May 04 13:53:28 raspberrypi python3[984]: weewx[984] CRITICAL > __main__: **** import paho.mqtt.client as mqtt > May 04 13:53:28 raspberrypi python3[984]: weewx[984] CRITICAL > __main__: **** ModuleNotFoundError: No module named 'paho' > May 04 13:53:28 raspberrypi python3[984]: weewx[984] CRITICAL > __main__: **** Exiting. > > What could I have missed here? > > Thanks > David >
-- 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/fe17e87b-3157-43fd-a998-8d5c377d0c36%40googlegroups.com.
