Sorry to be back late to my thread. It’s Raspian Desktop (recent) and fully updated.
When I start WeeWx manually, this is the log at startup: > pi@NUC62:/home/weewx $ sudo tail -f /var/log/syslog | grep weewx > Aug 26 21:19:48 NUC62 weewx[21100] INFO __main__: Initializing weewx version > 4.1.1 > Aug 26 21:19:48 NUC62 weewx[21100] INFO __main__: Using Python 3.5.3 > (default, Jul 9 2020, 13:00:10) #012[GCC 6.3.0 20170516] > Aug 26 21:19:48 NUC62 weewx[21100] INFO __main__: Platform > Linux-4.9.0-13-amd64-x86_64-with-debian-9.13 > Aug 26 21:19:48 NUC62 weewx[21100] INFO __main__: Locale is 'en_US.UTF-8' > Aug 26 21:19:48 NUC62 weewx[21100] INFO __main__: Using configuration file > weewx.conf > Aug 26 21:19:48 NUC62 weewx[21100] INFO __main__: Debug is 1 > pi@NUC62:/home/weewx $ python -V > Python 3.7.9 I know this isn’t the place for Python questions but I’m at my limits here; how do I change the default python? > On 25 Aug, 2020, at 21:40, John Kline <j...@johnkline.com> wrote: > > Well, we know the error message is not erroneous. > > I assume it’s Debian (since it’ a NUC), and not Raspbian. > > Is it buster? > > /usr/bin/python3 is probably a symlink to /usr/bin/python3.5. You could > change it to 3.7, but this *might* have consequences for other software. > > You could also change the first lines of the weewx executables: > wee_extension, wee_database, weewxd to point to /usr/bin/python (since that > appears to be pointing to 3.7), but that would be a maintenance headache. > > It might be better to figure out how you got into this situation. Perhaps > you could uninstall 3.5 (it’s end of life is in 19 days). Then, if need be, > point /usr/bin/python3 to the 3.7 executable. > > I wouldn’t do any of this if you don’t feel comfortable being able to dig out > of any problems that might be created. I am reasonably confident that you’d > be fine without 3.5, but I’m not going to be able to spend time with you on > this. > > Perhaps others will have suggestions. What version of the OS would be > helpful along with telling us if you are up to date. > >> On Aug 25, 2020, at 5:59 PM, weatherl...@gmail.com >> <weatherlists2...@gmail.com> wrote: >> >> >> /usr/bin/python3 -V >> python 3.5 3 >> >> I am officially confused in that case. >> >> :-)) >> >> On Tuesday, August 25, 2020 at 3:22:51 PM UTC-4 jo...@johnkline.com wrote: >> In particular, if the first line is: >> #!/usr/bin/python3 >> >> send me the result of: >> /usr/bin/python3 -V >> >>> On Aug 25, 2020, at 12:13 PM, weatherl...@gmail.com >>> <applewebdata://02B6456E-B5A8-46B7-A3F9-29FCC2A41EA1> >>> <weatherl...@gmail.com >>> <applewebdata://02B6456E-B5A8-46B7-A3F9-29FCC2A41EA1>> wrote: >>> >> >>> Weewx-purple requires weewx 4.1.1 (which is installed) and Paython > 3.7 >> >>> >>> pi@NUC62:/home/weewx $ python -V >>> Python 3.7.9 >>> >>> Running the installer gets me this: >>> >>> sudo bin/wee_extension --install /home/pi/Downloads/weewx-purple-master.zip >>> Request to install '/home/pi/Downloads/weewx-purple-master.zip' >>> Extracting from zip archive /home/pi/Downloads/weewx-purple-master.zip >>> weewx-purple requires Python 3.7 or later, found 3.5 >>> >>> Is this a bug that weewx-purple is not seeing the python version or >>> something I am doing wrong? >>> >>> Intel NUC >>> Raspian Desktop >>> >> >>> -- >> >>> 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 >>> <applewebdata://02B6456E-B5A8-46B7-A3F9-29FCC2A41EA1>. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/a0437e20-45c5-47dc-a0aa-551d47c9b961n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/weewx-user/a0437e20-45c5-47dc-a0aa-551d47c9b961n%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 weewx-user+unsubscr...@googlegroups.com >> <mailto:weewx-user+unsubscr...@googlegroups.com>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/952fce43-f2ae-4c98-8982-6a49c8926053n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/952fce43-f2ae-4c98-8982-6a49c8926053n%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 weewx-user+unsubscr...@googlegroups.com > <mailto:weewx-user+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/A21DF5CE-A8E6-40CA-89B3-67B3F4A839A3%40johnkline.com > > <https://groups.google.com/d/msgid/weewx-user/A21DF5CE-A8E6-40CA-89B3-67B3F4A839A3%40johnkline.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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CFA92A6A-A2C5-47A0-840B-3A0F98F7FF4F%40gmail.com.