If you refuse to actually describe your very unusual setup, you're not going to get a lot of help here too quickly.....
On Wednesday, January 7, 2026 at 11:18:27 AM UTC-8 Greg wrote: > > > 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/0d85da18-5a98-48cf-9884-89fe33989169n%40googlegroups.com.
