Thanks, vince. Sorted - I hadn't included the path even though I was calling it from that directory. Slow learner...
On Wednesday, 1 December 2021 at 13:45:55 UTC+13 [email protected] wrote: > -rwxr-xr-x 1 root root 3154 Nov 16 14:58 wee_extension > > On Wednesday, 1 December 2021 at 13:13:34 UTC+13 [email protected] wrote: > >> Thanks, vince. >> >> If you meant >> >> python3 ./setup.py build sudo python3 ./setup.py install >> >> Then Yes. >> On Wednesday, 1 December 2021 at 12:06:26 UTC+13 vince wrote: >> >>> "sudo /home/weewx/bin/wee_extension --help" should definitely work if >>> you installed via setup.py >>> >>> Are you sure you did an "install" after you did the setup.py "build" ? >>> >>> On Tuesday, November 30, 2021 at 2:37:54 PM UTC-8 [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/fca07004-a955-44dc-90a6-e9a966e11791n%40googlegroups.com.
