When WeeWX is installed as a package the WeeWX binary paths are added to the path environment variable and you can just use the command wee_extension. When installed via setup.py the path environment variable is not updated and your need to specify the path to wee_extension. Try something like:
$ /home/weewx/bin/wee_extension —help Sudo may or may not be required. Gary On Wednesday, 1 December 2021 at 08:37:54 UTC+10 [email protected] wrote: > Hi. > > 1. WeeWX installed via setup.py > 2. wee_extension is in /home/weewx/bin > 3. cd /home/weewx/bin > 4. sudo wee_extension --help > 1. this yields sudo: wee_extension: command not found > 5. same result with full path added > > Mystified > Thanks! > > On Saturday, 16 January 2021 at 16:28:41 UTC+13 Mitchell Tuckness wrote: > >> Thank you. For some reason I had it stuck in my head it had to be in the >> path, that worked. >> >> >> >> *From:* [email protected] <[email protected]> *On Behalf >> Of *gjr80 >> *Sent:* Friday, January 15, 2021 5:13 PM >> *To:* weewx-user <[email protected]> >> *Subject:* [weewx-user] Re: how to get wee_extension working >> >> >> >> Hi, >> >> >> >> If you installed WeeWX using setup.py then you need to ensure you include >> an appropriate path when using the utilities. Try something like: >> >> >> >> $ sudo /home/weewx/bin/wee_extension --install >> weewx-belchertown-release-1.2.tar.gz >> >> >> >> Note that depending on what directory you are in you may need to provide >> the path to the extension tar.gz file as well. >> >> >> >> Gary >> >> On Saturday, 16 January 2021 at 10:05:20 UTC+10 Mitchell Tuckness wrote: >> >> Hi all. I installed Weewx using the Python3 script and followed the >> instructions. It is working pretty good.I was going to install a skin and >> following the instructions is says to install it using the wee_extension >> --install command, but that is apparently not in my PATH statement. I have >> tried a few different methods to get it in the path, but none of them seem >> to work. >> >> >> >> I am not a Ubuntu Linux expert, though I am pretty good at following >> guides and troubleshooting minor issues (pretty good search skills), but >> this is stumping me. >> >> >> >> Can anyone help me get it set up so that command can be run per the >> instructions? >> >> >> >> Here is the skin I was going to install. >> >> >> >> https://github.com/poblabs/weewx-belchertown/releases >> >> >> >> And here is the command to install it using the wee_extension, which I >> can't run on mine. >> >> >> >> sudo wee_extension --install weewx-belchertown-release-1.2.tar.gz >> >> >> >> I am running Ubuntu 20.04 on a Raspberry Pi 4, using the latest version >> of Weewx and it was installed using this method. >> >> >> >> http://weewx.com/docs/setup.htm >> >> >> >> Thank you for help! >> >> >> >> -- >> 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/l0PR4PqBiqA/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/2cb96f06-c94e-427e-a770-835904475984n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/2cb96f06-c94e-427e-a770-835904475984n%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/d6a7fe45-d956-4c74-b4a3-a70cbba153bfn%40googlegroups.com.
