知行合一
Choose a quality life!
    which pip
    /usr/local/bin/pip

 pip
    -su: /usr/bin/pip: No such file or directory

    type pip
    pip is hashed (/usr/bin/pip)
    So 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:
 

   hash -r
    When the cache is clear, pip is working again.

这样之后在进行操作,就可以使用pip了。

 

posted on 2019-08-06 14:42  小米没吃饭  阅读(226)  评论(0编辑  收藏  举报