Steps to upgrade to python3 when installed via apt

34 views
Skip to first unread message

David Baur

unread,
Nov 27, 2020, 7:26:46 PM11/27/20
to weewx-user
I installed version 3.9 via apt on a raspberry pi quite some time ago.  I subsequently upgraded to 4.2 using the apt method as recommended.  I would now like to move to python3 and have installed all the latest python3 required packages.

Should I now use the setup.py script to do so, or just change the etc/default/weewx.conf WEE_PYTHON to python3?  This has mostly to do with the differences in the installed paths between a setup.py original install and an apt install.

Thanks

Tom Keffer

unread,
Nov 27, 2020, 7:35:34 PM11/27/20
to weewx-user
If you're installed the Python 3 prerequisites then, yes, it's as simple as setting WEEWX_PYTHON in /etc/default/weewx to python3.

--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/5bb895c8-739b-401b-96cf-bd6303a400edn%40googlegroups.com.

David Baur

unread,
Nov 27, 2020, 7:50:40 PM11/27/20
to weewx...@googlegroups.com
Thanks!


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/Xufkq3f6CM4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zECfjPCru87eMh6J-_EjSqjbNGRW54Fnxwfm_zrKfiJtjQ%40mail.gmail.com.
--
David G. Baur
505 362-4443 c
Reply all
Reply to author
Forward
0 new messages