I'm wondering who is issuing the "requires Python 3.7 or later" error. It's
not wee_extension, nor anything else in WeeWX. Nor do I see any text like
that in the PA extension.

I'm wondering if it is the zip library that is doing it...?

Wild chance, but try unzipping the archive using the zip utility, then
running wee_extension on the resultant directory.

sudo bin/wee_extension --install /home/pi/Downloads/weewx-purple-master

where, I'm assuming, the unzipped extension will be in directory
/home/pi/Downloads/weewx-purple-master.

-tk



On Tue, Aug 25, 2020 at 6:40 PM 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 <
>> weatherl...@gmail.com> 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.
>> 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.
> 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.
> 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/CAPq0zEBGKvuX_38W2hqNtZ%2BafnCP8fMFsd8yzWeKfU3P5Y6aTg%40mail.gmail.com.

Reply via email to