execute: pip
look message return: /usr/bin/pip: No such file or directory
execute:which pip
look message return: -su: /usr/bin/pip: No such file or directory
execute:type pip
look message return: pip is hashed (/usr/bin/pip)
So in this case, pip is definintely in /usr/local/bin/pip but it is been cached as in /usr/bin/pip,
thanks to the Stackoverflow question, the solution is very simple, just execute:
hash -r
source master: http://cheng.logdown.com/posts/2015/06/14/-usr-bin-pip-no-such-file-or-directory
Thanks for the help. It was helpful.
ResponderExcluirThanks!!!
ResponderExcluirFuk, the solution was so simple and took so long to find on google.
ResponderExcluirThanks