Matthew/Tom/Vince:

Thank you all for you help.

- Paul VE1DX

https://www.ve1dx.net

On Thursday, June 4, 2020 at 5:07:11 PM UTC-3, mwall wrote:
>
> On Thursday, June 4, 2020 at 3:28:04 PM UTC-4, WindnFog wrote:
>>
>> That worked, Neville:
>>
>> python --version
>> Python 3.7.3
>>
>> However, weewx still grabs python 2.7 . . . perhaps it's a bit too early 
>> (new Raspberry Pi O/S and a new weewx version 4.1.1 for someone at my level 
>> of expertise to monkey around with this yet.  It's working, and while I 
>> have a "just made" backup on a separate SD card, there seem to be a lot of 
>> threads discussing this.  I don't run anything but weewx on the Pi (i.e. no 
>> other python scripts), but experience has taught me not to change too many 
>> things at the same time.  I suspect this is more related to the O/S that's 
>> only a week or so old as opposed to weewx.  2.7 seems to be working OK.  I 
>> don't understand why weewx is not picking up 3.7.3, but there's no rush.
>>>
>>> <https://www.ve1dx.net>
>>>>>
>>>>
> if you install weewx using setup.py, then the python will be whatever 
> python you used when you did 'xxx setup.py install'
>
> if you install weewx using apt/yum/zypper, then the python will default to 
> whatever python is specified in the package you used.  for example, the 
> python3-weewx deb package uses python3.  however, for these installations 
> you can easily change the python by modifying /etc/default/weewx.
>
> if you do that, beware that you might not have the correct dependencies.  
> if that is the case, then just manually install the dependencies.
>
> this is independent of whatever mechanism the operating system might have 
> for specifying which python is 'default'
>
> so in your case, assuming that you installed the python-weewx package 
> using apt, you must manually install the python3 dependencies (you listed 
> the apt commands for that earlier in this thread), then modify the python 
> entry in /etc/default/weewx
>
> m 
>

-- 
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/671bdfa6-b2b8-41ef-b1d3-254a24276332o%40googlegroups.com.

Reply via email to