Python Script Is Not Found


Here's my thought on python script is not found

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.

  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.

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.

This post was a thought by Waylon Walker see all my thoughts at