Skip to content

Fixing WARNING: The script is installed in ‘/home/kali/.local/bin’ which is not on PATH.

  • by

When you install Python scripts via PIP you will sometimes see an error like:

  • WARNING: The script <scriptname> is installed in ‘/home/<username>/.local/bin’ which is not on PATH.

And in most cases a second with text like Consider adding this directory to PATH is displayed.

So what you could do to fix this is typing the following line

export PATH=/home/<username>/.local/bin:$PATH

and change <username> with your own user

That should do the trick. Let us know if this doesn’t work for you

Leave a Reply

Your email address will not be published. Required fields are marked *