segunda-feira, 2 de julho de 2018
HOW TO FIX MESSAGE "/usr/bin/pip: No such file or directory"
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
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
Assinar:
Postagens (Atom)