💭 python script is not found ============================ !None Date: July 28, 2023 ![[None]] When setting up a new machine, vm, docker image you might be installing command line tools from places like pip. They will often put executables in your `~/.local/bin` directory, but by default your shell is not looking in that directory for commands. ``` bash WARNING: The script dotenv is installed in '/home/falcon/.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. ``` To solve this you need to add that directory to your $PATH. ``` bash export PATH=$PATH:~/.local/bin ``` To make this change permanant add this line to your shell's init script, which is likely something like `~/.bashrc` or `~/.zshrc`. !!! note This post is a thought [1]. It's a short note that I make about someone else's content online #thoughts [2] References: [1]: /thoughts/ [2]: /tags/thoughts/