Guessing you installed weewx using python2 originally. Lets see what you're actually running.
Try "ps axu | grep wee" and it should show us which python version you're running. An example will look something like the following for a python3 packaged install on debian 11: root 394 0.2 2.2 103192 22496 ? Sl 21:20 0:00 python3 /usr/share/weewx/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf Also for a packaged install, run "cat /etc/default/weewx" which should agree. On the same deb11 system, mine looks like: WEEWX_PYTHON=python3 WEEWX_BINDIR=/usr/share/weewx WEEWX_BIN=/usr/bin/weewxd WEEWX_CFG=/etc/weewx/weewx.conf -- 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/7f81ac42-6560-4f8b-a0a7-c66fb852c93cn%40googlegroups.com.
