The Debian install instructions have you either 'wget' weewx-python2.list or weewx-python3.list. Truth be told: either way, you get the same version of WeeWX. The difference is in the dependencies. So, if you intend to use Python 3 (and you should), you want weewx-python3.list. It will install the Python3 dependencies. Looks like that's exactly what you did.
As far as which version of Python gets invoked when you type the command 'python', well, that depends on the OS. For Debian 10, it's Python 2. However, to use Python 3, it's easy enough. Just use the command 'python3': *python3 -V* Python 3.7.3 If you use weewx-python3.list, the package installer will automatically make sure the right version of Python (Python 3) gets invoked when you run weewxd, or any of the utilities. Hope that helps -tk -tk On Sat, Aug 15, 2020 at 11:38 AM Michael McClane <[email protected]> wrote: > I've had trouble installing Weewx on Debian 10 with a Weatherflow > Tempest. I decided to check python version - 2.7.16. So I sudo apt-get > remove weewx and start to reinstall. After executing the config apt, I > check and still have python 2.7.16. > > I can update to python 3.7, but don' know if there's an impact on Weewx. > > mrmccla@Buster:/etc/weewx$ wget -qO - http://weewx.com/keys.html | sudo > apt-key add - > OK > mrmccla@Buster:/etc/weewx$ wget -qO - > http://weewx.com/apt/weewx-python3.list | sudo tee > /etc/apt/sources.list.d/weewx.list > deb [arch=all] http://weewx.com/apt/python3 buster main > mrmccla@Buster:/etc/weewx$ sudo apt-get update > Hit:1 http://security.debian.org buster/updates InRelease > Hit:2 http://weewx.com/apt/python3 buster InRelease > Hit:3 http://mirror.steadfast.net/debian buster InRelease > Hit:4 http://mirror.steadfast.net/debian buster-updates InRelease > Reading package lists... Done > mrmccla@Buster:/etc/weewx$ python -V > Python 2.7.16 > > -- > 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/7e8e7109-350d-4652-890b-381e68c1dc44o%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/7e8e7109-350d-4652-890b-381e68c1dc44o%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/CAPq0zEBjtSj40aOzfRP50POXjxZi%2Bp3kPH-eimqMiqmf2v7iYg%40mail.gmail.com.
