Glad to hear it. Enjoy. On Mon, May 4, 2020, 5:37 PM David Schmidt <[email protected]> wrote:
> All right, removed all of python3 and with python2 all runs fine now, > thanks for the help! > > > > On Monday, May 4, 2020 at 7:35:03 PM UTC+2, G Hammer wrote: >> >> If you are wanting python2 then run everything by using it explicitly. >> There are examples in the setup.py guide >> >> >> On Mon, May 4, 2020, 1:27 PM David Schmidt <[email protected]> wrote: >> >>> Interesting, there might be a mess up there at this point! >>> >>> Thanks for pointing that out. >>> >>> >>> On Mon, May 4, 2020, 19:21 G Hammer <[email protected]> wrote: >>> >>>> All your posted errors say python3 >>>> >>>> May 04 13:53:28 raspberrypi python3[984]: weewx[984] CRITICAL >>>> >>>> >>>> >>>> On Monday, May 4, 2020 at 1:02:11 PM UTC-4, David Schmidt wrote: >>>>> >>>>> Hi there, >>>>> >>>>> I followed the instructions from weewx. Installed all 2.7 python. >>>>> Weird isn't it? >>>>> >>>>> Any further idea to debug? >>>>> >>>>> >>>>> >>>>> On Mon, May 4, 2020, 16:03 G Hammer <[email protected]> wrote: >>>>> >>>>>> 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 a topic in >>>>>> the Google Groups "weewx-user" group. >>>>>> To unsubscribe from this topic, visit >>>>>> https://groups.google.com/d/topic/weewx-user/cZNN3FBwqCs/unsubscribe. >>>>>> To unsubscribe from this group and all its topics, 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 >>>>>> <https://groups.google.com/d/msgid/weewx-user/fe17e87b-3157-43fd-a998-8d5c377d0c36%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>> -- >>>> You received this message because you are subscribed to a topic in the >>>> Google Groups "weewx-user" group. >>>> To unsubscribe from this topic, visit >>>> https://groups.google.com/d/topic/weewx-user/cZNN3FBwqCs/unsubscribe. >>>> To unsubscribe from this group and all its topics, send an email to >>>> [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/weewx-user/2c19e416-5397-4e2f-aa08-5f8170251f4e%40googlegroups.com >>>> <https://groups.google.com/d/msgid/weewx-user/2c19e416-5397-4e2f-aa08-5f8170251f4e%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "weewx-user" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/weewx-user/cZNN3FBwqCs/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/CAC5dRMB%3DZWFb43k4D54jf_QWtr2oUrAB9t8TySBhuyTVOo5DMg%40mail.gmail.com >>> <https://groups.google.com/d/msgid/weewx-user/CAC5dRMB%3DZWFb43k4D54jf_QWtr2oUrAB9t8TySBhuyTVOo5DMg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > You received this message because you are subscribed to a topic in the > Google Groups "weewx-user" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/weewx-user/cZNN3FBwqCs/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/41df21e6-80f2-49e0-b644-18be1e8eb110%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/41df21e6-80f2-49e0-b644-18be1e8eb110%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CALBRR-3wx4-Vrv92J_C5Zb_3cZE4dGNrx7TSJ%2BEzaBbg_tvxCA%40mail.gmail.com.
