How to force weeex to run on python 3

89 views
Skip to first unread message

Praveen Chandrasekaran

unread,
May 2, 2020, 6:41:40 AM5/2/20
to weewx-user
This maybe a dumb question. How to force weewx to use python 3. The default python on my pi is 2.7. Python3 is python 3.5.3. In log I see weewx v4 still starting on python 2.7.

gjr80

unread,
May 2, 2020, 6:46:47 AM5/2/20
to weewx-user
Already asked and answered. Have a look at this post https://groups.google.com/d/msg/weewx-user/v-WEKHOIRiI/YZl28Kj-BQAJ

Gary

Praveen Chandrasekaran

unread,
May 2, 2020, 7:13:56 AM5/2/20
to weewx-user
However I run it as daemon

/etc/init.d/weewx. How to change the python version when pi starts up? Without having to setup a cron job.



--
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/2XNvSgAKUGI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/dcc7b109-b9b0-46c2-981d-64af635d8339%40googlegroups.com.

Praveen Chandrasekaran

unread,
May 2, 2020, 7:20:40 AM5/2/20
to weewx-user
Ok, Had to change in /etc/default/weewx. That did the trick.
Reply all
Reply to author
Forward
0 new messages