Python 3 PIP Warning: Consider adding this directory to PATH

Case: Running Ubuntu 20.04 w/ Python 3.8 (python3 executable). Installing a script with pip install returns a warning that the path of the script is not present as an environment variable:

WARNING: The script undervolt is installed in '/home/<username>/.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.


Solution applies to this intel undervolt script. Apply solution at your own risk if your case is different.


  1. nano ~/.bashrc
  2. Ctrl+End to reach the end of the file.
  3. On a new line, enter: export PATH=$PATH:/home/$USER/.local/bin
  4. Save. No need to restart the terminal.

Based on

Did this solve your issue?