i have the same exact problem...
*# /usr/share/weewx/wee_extension --install=/usr/local/bin/WeeWX-MQTTSubscribe/v2.2.2.tar.gz Traceback (most recent call last): File "/usr/share/weewx/wee_extension", line 13, in <module> import weecfg.extension File "/usr/share/weewx/weecfg/__init__.py", line 23, in <module> import configobjImportError: No module named configobj* i run python3 and my /etc/default/weewx is WEEWX_PYTHON=python3 WEEWX_PYTHON_ARGS= WEEWX_BINDIR=/usr/share/weewx WEEWX_BIN=/usr/bin/weewxd WEEWX_CFG=/etc/weewx/weewx.conf On Sunday, November 6, 2022 at 1:34:13 PM UTC+2 [email protected] wrote: > Weewx was originally installed using python3 (running on rpi 4 with buster) > > Running "ps axu | grep wee" > > root 15080 15.8 3.3 122252 64084 ? Sl Nov04 388:36 python3 > /usr/share/weewx/weewxd --daemon --pidfile=/var/run/weewx.pid > /etc/weewx/weewx.conf > pi 31454 0.0 0.0 7244 580 pts/0 S+ 06:30 0:00 grep > --color=auto wee > > And running "cat /etc/default/weewx" > > WEEWX_PYTHON=python3 > WEEWX_PYTHON_ARGS= > WEEWX_BINDIR=/usr/share/weewx > WEEWX_BIN=/usr/bin/weewxd > WEEWX_CFG=/etc/weewx/weewx.conf > On Sunday, November 6, 2022 at 12:24:32 AM UTC-4 vince wrote: > >> 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/3eff76b2-76bf-49d7-8fd1-a0ac5df8decbn%40googlegroups.com.
