pip升级之后出现:/usr/bin/pip: No such file or directory
生活随笔
收集整理的這篇文章主要介紹了
pip升级之后出现:/usr/bin/pip: No such file or directory
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
這是因為緩存的問題造成的,解決方案:
1.which pip
/usr/local/bin/pip
2.pip
-bash: /usr/bin/pip: No such file or directory
3.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:
4.hash -r
When the cache is clear, pip is working again.
https://blog.csdn.net/jiangjiang_jian/article/details/103770007
成功解決了自己的問題
總結(jié)
以上是生活随笔為你收集整理的pip升级之后出现:/usr/bin/pip: No such file or directory的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: How to solve C libra
- 下一篇: logging通过配置文件设置同时输出到