On Monday, January 16, 2023 at 5:50:35 PM UTC-8 Tom Keffer wrote: Give it a try: *pip install weewx --user* *weectl station create* *sudo cp ~/weewx-data/systemd/weewx.service /etc/systemd/system*
That's it to get a daemon going. You have a typo on the path to the service file there. For a non-venv setup, the $PATH issue is still there unless you've fixed it in git and not in the pip stuff yet. This sequence works for me end-to-end and weewx is running after this runs... python3 -m pip install weewx --user export PATH=~/.local/bin:$PATH weectl station create --driver weewx.drivers.simulator --no-prompt sudo cp ~/weewx-data/util/systemd/weewx.service /etc/systemd/system sudo systemctl enable weewx sudo systemctl start weewx I did also test a venv-based script that worked ok, if it matters. This requires python3-venv to be there as a prerequisite. python3 -m venv ~/weewx_venv cd ~/weewx_venv source bin/activate python3 -m pip install weewx weectl station create --driver weewx.drivers.simulator --no-prompt sudo cp ~/weewx-data/util/systemd/weewx.service /etc/systemd/system sudo systemctl enable weewx sudo systemctl start weewx FWIW, the service files generated 'do' run as a non-privileged user, which is pretty nice. -- You received this message because you are subscribed to the Google Groups "weewx-development" 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-development/960e4b83-f67c-4ea4-add2-33f00e1aceb8n%40googlegroups.com.
