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.
Disclaimer
Solution applies to this intel undervolt script. Apply solution at your own risk if your case is different.
Solution
nano ~/.bashrc
- Ctrl+End to reach the end of the file.
- On a new line, enter:
export PATH=$PATH:/home/$USER/.local/bin
- Save file, restart terminal.
IF it doesn’t work, try logging out or rebooting. (thanks for the feedback!)
Hi! Please help me improve this page.
If this doesn’t work for you, send feedback by voting NO below and sharing with me:
– what OS you are using,
– what is your display manager,
– what other difficulties you might have encountered.
I will try to update the page promptly. Thanks.
Based on
Did this solve your issue?
THIS WORKED FOR ME. HELP OTHERS BY VOTING HOW IT WORKED FOR YOU.
RIGHT NOW THIS HAS HELPED 26% WEBSITE VISITORS.
TOTAL VOTES: 50
RIGHT NOW THIS HAS HELPED 26% WEBSITE VISITORS.
TOTAL VOTES: 50