.local/bin' which is not on PATH. Linux subsystem for Windows

in Windows/Linux subsystem/ubuntu/windows power shell/bash:pip3 install --upgrade pipok but:WARNING: The scripts pip, pip3 and pip3.8 are installed in '/home/chills/.local/bin' which is not on PATH.

How to put it on path?


tried:~/.profilegot: .profile: Permission denied

tried vim ~/.bash_profiledocument opens i put in PATH="$HOME/chills/.local/bin:$PATH" don't know how to exit, just closing windows power shell..problem remains.

4

1 Answer

tried: ~/.profile got: .profile: Permission denied

The error message is shown because you tried running the file as if it were a program, which it isn't. You're supposed to open it through a text editor, not run it directly.

tried vim ~/.bash_profile document opens i put in PATH="$HOME/chills/.local/bin:$PATH" don't know how to exit, just closing windows power shell..problem remains

Closing the window will exit the editor but will not save the document.

In Vim, press Esc to leave "insert mode", then input :wq to save&exit.

Try nano (Ctrl-X) or micro (Ctrl-Q) for a more familiar text editor.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like