On Sun, Jan 15, 2023 at 8:11 PM Vince Skahan <[email protected]> wrote:
> WARNING: The scripts weectl and weewxd are installed in
> '/home/vagrant/.local/bin' which is not on PATH.
> Consider adding this directory to PATH or, if you prefer to suppress
> this warning, use --no-warn-script-location.
>
> I worked around it with a quickie script for ubuntu 2204...
>
The reason you're getting a warning is that most .profiles look like this:
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
With a virgin system there is no ~/.local/bin, so it's not put in your
PATH. After installing WeeWX there is.
We could tell people to "source .profile" if they get the error, but there
are so many different combinations of .profile, .bashrc, .zsh, etc, that
I'm reluctant to do that. I'll just include a warning in the pip install
instructions.
--
You received this message because you are subscribed to the Google Groups
"weewx-development" 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-development/CAPq0zEDXm0pt%2BTQ%3DE4o%2BafA5JGTBiRwxapOd-uscquhMMPFfsA%40mail.gmail.com.