Ubuntu – pip install saws command not found

pipsoftware installation

I'm trying to install saws https://github.com/donnemartin/saws on ubuntu, installation using pip install saws seems to work, but when I type saws it says

No command 'saws' found, did you mean:

I've tried also with sudo and restarting terminal, any idea?

Best Answer

That's installing in your ~/.local/bin directory, which probably isn't part of your PATH. One thing you could do is copy it to a directory that is in your PATH, such as /usr/local/bin. Another way would be to add .local/bin to your PATH:

$ export PATH=$PATH:~/.local/bin

You would need to put this in your .bashrc for it to execute every time you open your terminal.

Related Question