You're missing a paho package for python, and need to install it. if you
installation is using python3, "sudo apt-get install python3-paho-mqtt"
should do the trick.

On Sun, 14 Nov 2021 at 05:17, miso k <[email protected]> wrote:

> Hello together,
> I have installed latest OS to my raspberry - Bullseye.
> during the WeeWX start I get this message:
>
> Nov 13 19:14:46 WeeWX weewx[2941] INFO user.interceptor: shutting down
> server thread
> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__: Caught unrecoverable
> exception:
> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****  No module
> named 'paho'
> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****  Traceback
> (most recent call last):
> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****    File
> "/usr/share/weewx/weewxd", line 151, in main
> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****      engine
> = weewx.engine.StdEngine(config_dict)
> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****    File
> "/usr/share/weewx/weewx/engine.py", line 93, in __init__
> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****
> self.loadServices(config_dict)
> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****    File
> "/usr/share/weewx/weewx/engine.py", line 161, in loadServices
> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****      obj =
> weeutil.weeutil.get_object(svc)(self, config_dict)
> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****    File
> "/usr/share/weewx/weeutil/weeutil.py", line 1093, in get_object
> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****      mod =
> __import__(module)
> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****    File
> "/usr/share/weewx/user/MQTTSubscribe.py", line 300, in <module>
> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****      import
> paho.mqtt.client as mqtt
> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****
> ModuleNotFoundError: No module named 'paho'
> Nov 13 19:14:47 WeeWX weewx[2941] CRITICAL __main__:     ****  Exiting.
>
> what is wrong? do I need to change something?
>
> thanks
> Michal
>
> --
> 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/29ced556-10b5-431a-a3b5-37641afb9a6cn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/29ced556-10b5-431a-a3b5-37641afb9a6cn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 

  "I and the public know
  what all schoolchildren learn
  Those to whom evil is done
  Do evil in return"            W.H. Auden, "September 1, 1939"

-- 
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/CA%2BxzKjB5foEny40S%3DuB4R9hKVw58OgTH3x1sh_W_BiKv60ArHQ%40mail.gmail.com.

Reply via email to