Hello Tom,
Yes I can confirm that it says python version 3.7.3 on startup in the log.

So why would using sudo apt-get autoremove and it removes python-serial and 
python-usb, not python3 versions would it stop Weewx running?
Thanks for any advice.
Regards
Phil

On Sunday, April 4, 2021 at 8:24:15 PM UTC+1 tke...@gmail.com wrote:

> Look in the log. When you start up weewx, it will show you exactly which 
> version of python it is using.
>
> On Sun, Apr 4, 2021 at 11:01 AM Phil Green <phil....@gmail.com> wrote:
>
>> Hello,
>> I have been running Weewx and am up to date with version 4.5.1.
>> When I updated several versions ago I migrated to python3 and installed 
>> all the prerequisites, and used the relevant pythin3 commands to build & 
>> install.
>> System been running fine.
>>
>> I decided to update the reset of the Raspberry Pi command line system 
>> using:-
>> sudo apt-get update
>> sudo apt-get upgrade
>> I noticed that it reported several python packages serial 7& usb etc were 
>> no longer required, I presume the python 2.7 versions.
>>
>> So I removed them with the option auto remove.
>> My Weewx program then fails to start.
>>
>> Fortunately I had made a back and everything is running again.
>> So when I installed/upgraded using the python3 option I presume Weewx is 
>> running under python3?
>> Am I still running under python2.7?
>> If I issue the command python -version it reports version 2.7 from the 
>> command line.
>> Any advice welcome.
>> Regards
>> Phil
>>
>>
>>
>> -- 
>> 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/29d8297b-a0f2-4dac-bd92-13992c39d7abn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/29d8297b-a0f2-4dac-bd92-13992c39d7abn%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/299727e0-cc55-4079-9f91-3eac77c89500n%40googlegroups.com.

Reply via email to