I can run it on the command line "python3 /usr/share/weewx/weewxd.py"
I guess it is a path issue. Seems like the Linux service calls: /usr/local/bin/weewxd to start the service. Which is trying to do an import of main from weewxd ie line #5: "from weewxd import main" I guess it can't find weewxd? Is there a better way to start it as a service? On Wednesday, January 7, 2026 at 1:51:57 PM UTC-5 Vince Skahan wrote: > Need much more info. > > > https://github.com/vinceskahan/weewx-getting-started/blob/main/how-to-report-a-problem.md > > Quick guess is your very unusual path of /usr/local/bin is where to start > looking. > > On Wednesday, January 7, 2026 at 10:47:02 AM UTC-8 Greg wrote: > >> Hi, I'm getting an error when the service starts after upgrading to >> Ubuntu 24: >> >> >> >> >> >> *Jan 07 11:25:33 htpctemp weewxd[32126]: File "/usr/local/bin/weewxd", >> line 5, in <module>Jan 07 11:25:33 htpctemp weewxd[32126]: from weewxd >> import mainJan 07 11:25:33 htpctemp weewxd[32126]: ModuleNotFoundError: No >> module named 'weewxd'Jan 07 11:25:33 htpctemp systemd[1]: weewx.service: >> Main process exited, code=exited, status=1/FAILUREJan 07 11:25:33 htpctemp >> systemd[1]: weewx.service: Failed with result 'exit-code'.* >> >> Any ideas? Did find anything searching via Google. >> >> Thanks, Greg >> > -- 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 visit https://groups.google.com/d/msgid/weewx-user/c2bf45b5-6bed-4a0b-9a9d-851ae8ac82e1n%40googlegroups.com.
