Upgrade from 3.9.2 using Python 2.7.3

74 views
Skip to first unread message

Yves Martin

unread,
Jun 29, 2023, 9:15:10 AM6/29/23
to weewx-user
Hi,

I'm using an old version (but very stable) of weewx (3.9.2) using Python 2.7.3.

Is it possible to upgrade to version 4 with this Python version or do I need to upgrade Python?

If I need to upgrade Python, do you have some HowTo somewhere for weewx?

PS: I'm using Linux meteo-raspi 4.1.19-v7+ #858

Thanks!

Tom Keffer

unread,
Jun 29, 2023, 9:30:10 AM6/29/23
to weewx...@googlegroups.com
WeeWX Version 4 works with Python 2.7, so you simply need to upgrade WeeWX.

--
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/83ca16e2-1dfa-490f-a37e-17d0b4f7bb9cn%40googlegroups.com.

Yves Martin

unread,
Jun 29, 2023, 9:52:23 AM6/29/23
to weewx-user
Thanks a lot!

From version 3.9.2, can I upgrade to the last version or should I upgrade progressively?

Regards,
Yves

Tom Keffer

unread,
Jun 29, 2023, 10:17:07 AM6/29/23
to weewx...@googlegroups.com
Generally, you can upgrade directly to the last version.

It's all in the upgrade guide: http://www.weewx.com/docs/latest/upgrading.htm



Yves Martin

unread,
Jun 29, 2023, 10:39:01 AM6/29/23
to weewx-user
Hi,

OK ... (I'm like my customers, I do not read all !... Sorry for that).

I'm planing to upgrade the OS (not too much space on the SD card after all these years, and in the same time upgrading the Debian distribution (to version 10).

Legacy version integrate Python 2.7. What version of Python do you suggest to be up to date ? 3.8? 3.9?

Regards,
Yves

Yves Martin

unread,
Jun 29, 2023, 11:08:36 AM6/29/23
to weewx-user
I've finally compiled/installed version 3.9.17 of Python ... it seems to be the more last stable and safe version ...
I hope I will run a couple of years yet with this wonderfull weewx software!

Yves,
YMartin.com/meteo
Message has been deleted

Tom Keffer

unread,
Jun 29, 2023, 4:51:15 PM6/29/23
to weewx...@googlegroups.com
We didn't introduce the apt repository until v4.0. So, if you want to install V3.9, you'll have to do it from the archive https://weewx.com/downloads/released_versions/

But, what's wrong with the current v4.10 version? It's perfectly stable. Are you experiencing / hearing something different?

-tk



On Thu, Jun 29, 2023 at 12:22 PM Yves Martin <ve2...@gmail.com> wrote:
The upgrade do not work on my old Debian 7.

So I created a new Debian (10) installing Python 3.9.

I will install the old version 3.9.2-1 on it, then I will copy the full config and database and then I will upgrade.

But when I want to install this old version (weewx_3.9.2-1_all.deb) I have this error :

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package weewx_3.9.2-1_all.deb
E: Couldn't find any package by glob 'weewx_3.9.2-1_all.deb'
E: Couldn't find any package by regex 'weewx_3.9.2-1_all.deb'

Why ?

Yves
Reply all
Reply to author
Forward
0 new messages