this was not working...
*# /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* this was working... *# wee_extension --install=/usr/local/bin/WeeWX-MQTTSubscribe/v2.2.2.tar.gz Request to install '/usr/local/bin/WeeWX-MQTTSubscribe/v2.2.2.tar.gz'Extracting from tar archive /usr/local/bin/WeeWX-MQTTSubscribe/v2.2.2.tar.gzSaving installer file to /usr/share/weewx/user/installer/MQTTSubscribeSaved configuration dictionary. Backup copy at /etc/weewx/weewx.conf.20221115145432Finished installing extension '/usr/local/bin/WeeWX-MQTTSubscribe/v2.2.2.tar.gz'* how many wee_extention are in my system (debian 10) ? *# find / -name wee_extension* */usr/share/weewx/wee_extension/usr/bin/wee_extension* */etc/weewx/scripts/wee_extension* are there any symlinks, etc ? *# ls -al /usr/share/weewx/wee_extension* *-rwxr-xr-x 1 root root 3292 Oct 25 14:29 /usr/share/weewx/wee_extension# ls -al /usr/bin/wee_extension-rwxr-xr-x 1 root root 316 Oct 25 14:29 /usr/bin/wee_extension# ls -al /etc/weewx/scripts/wee_extension-rwxr-xr-x 1 root root 316 Oct 25 14:29 /etc/weewx/scripts/wee_extension* On Monday, November 14, 2022 at 10:33:42 PM UTC+2 [email protected] wrote: > What fixed it for me: > > sudo pip3 install configobj > > -Troy > > On Mon, Nov 14, 2022, 12:22 PM George Michalopoulos <[email protected]> > wrote: > >> 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 a topic in the >> Google Groups "weewx-user" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/weewx-user/ZK7Y7uDx4w0/unsubscribe. >> To unsubscribe from this group and all its topics, 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 >> >> <https://groups.google.com/d/msgid/weewx-user/3eff76b2-76bf-49d7-8fd1-a0ac5df8decbn%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/681a95d1-b097-42e2-b391-a88555a20dc0n%40googlegroups.com.
