pip 安裝包報錯-bash: /home/ubuntu/.local/bin/pip: No such file or directory
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了。
原文:原文連結
相關推薦
pip 安裝包報錯-bash: /home/ubuntu/.local/bin/pip: No such file or directory
which pip /usr/local/bin/pip pip -su: /usr/bin/pip: No such file or directory type pip
nginx 啟動報錯“var/run/nginx/nginx.pid" no such file or directory解決方法
今天剛搭建的nginx伺服器啟動時,報錯“var/run/nginx/nginx.pid" no such file or directory,按照他的意思我在var/run/新建了一個資料夾nginx,重新啟動,啟動成功。 但是當我虛擬機
NDK 編譯報錯arm-linux-androideabi-g++: error: CreateProcess: No such file or directory
Android編譯工程時提示:arm-linux-androideabi-g++: error: CreateProcess: No such file or directory錯誤。 解決方法: 步驟1: Android.mk 檔案修改, LOCAL_SHORT_C
git 原始碼安裝後報錯/usr/bin/git: No such file or directory
現象 今天原始碼安裝一個git後,執行git命令後報如下錯誤: $ git --version -bash: /usr/bin/git: No such file or directory 分析過程 開始我以為是PATH路徑的問題,檢查PATH路徑發現是正常的,而且找不到命令的報錯也不應該是
安裝MySQLdb模塊遭遇"fatal error: my_config.h: No such file or directory"的處理
fresh nag fir () ron rpm -e 64bit rst col Issue I encountered an error when I run the python script which need to import the modu
hadoop:/bin/bash: /bin/java: No such file or directory
Stack trace: ExitCodeException exitCode=127 In HADOOP_HOME/libexec/hadoop-config.sh look for the if condition below # Attempt to set JAVA_H
bash: ./arm-none-linux-gnueabi-gcc: No such file or directory解決方法
2016年08月30日 14:56:14 simonli1121 閱讀數:3727更多 個人分類: linux 轉自:http://blog.csdn.net/mr_define/article/details/51059329 http:
-bash: /usr/bin/yum: No such file or directory 更換yum源
一般是因為執行"rpm -aq|grep yum|xargs rpm -e --nodeps"命令之後將系統預設的yum功能刪除 我遇到這個問題時是為了解決紅帽7 yum沒註冊無法使用yum源的情況,所以就執行了上面刪除的命令 所以接下來我打算更換centos7的yu
linux php新增pdo_mysql 擴充套件時報錯 fatal error: ext/mysqlnd/mysqlnd.h: No such file or directory
上一篇是新增mysql報錯,這篇是新增pdo_mysql報錯。 但是,雖然是同樣的錯誤資訊,用上一篇的方法並不行,因為提示說--with-mysql 指令不識別。 試過了網上找的方法,不行。 然後,我就找了一下 ext/mysqlnd/mysqlnd.h 這個檔案,發
問題解決:安裝完ruby卻提示[/usr/bin/ruby: No such file or directory]
在linux(我用ubuntu)下,明明安裝好了ruby,輸入命令列ruby後,卻提示 -bash: /usr/bin/ruby: No such file or directory 解決問題之前,先確認一個情況,輸入命令 /usr/local/bin/ruby -
解決pycharm 無法載入pip安裝包報錯:python packing tools not found. install packing tools
Linux下開啟 /opt/pycharm-xxxxx/helpers/packaging_tool.py windows下開啟 C:\Program Files\JetBrains\PyCharm
PIP 安裝包 報錯 SSL
報錯如下: D:\acadci-github\wk_client_tools\venv\lib\site-packages\pip\_vendor\urllib3\util\ssl_.py:137: InsecurePlatformWarning: A true SSLContext objec
redhat7安裝jdk1.7報錯/home/renqiwei/jdk1.7/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
ann .cn .so 解決方法 技術分享 cannot mage jdk1 i686 本地下載解壓安裝到/home/renqiwei/jdk1.7目錄下 root配置環境變量,報錯: 原因:是因為64位系統中安裝了32位程序 解決方法:yum install gli
pip 安裝包時報錯 /usr/bin/pip: No such file or directory
/usr/bin/pip: No such file or directory pip can no longer be found: 可以採用以下方式解決 which pip /usr/local/bin/pip pip -su: /usr/bin
cnmp安裝失敗,報錯npm ERR! enoent ENOENT: no such file or directory,
lar 答案 .cn usr password rect tor bre -c 1.cnmp安裝失敗 2.提示如下: bogon:node_modules liangjingming$ sudo npm install cnpm -g --registry=https://
TensorFlow安裝之後導入報錯:libcudnn.so.6:cannot open sharedobject file: No such file or directory
-a ring share 環境 .net str ubunt dir 附件 轉載自:http://blog.csdn.net/silent56_th/article/details/77587792 系統環境:Ubuntu16.04 + GTX1060 目的:配置一下py
ubuntu下tensorflow 報錯 libcusolver.so.8.0: cannot open shared object file: No such file or directory
export direct config sudo 8.0 ring 終端 運行 ber 解決方法1. 在終端執行: export LD_LIBRARY_PATH=”$LD_LIBRARY_PATH:/usr/local/cuda/lib64” export CUDA_H
pycharm 用遠程環境時報錯bash: line 0: cd: /home/tmp: No such file or directory
charm rec 報錯 del let short mage arm lin delete redundant path pycharm 用遠程環境時報錯bash: line 0: cd: /home/tmp: No such file or directory
Linux 安裝pyspider 報錯“No such file or directory: 'curl-config”
During handling of the above exception, another exception occurred: Traceback (most recent call last)
inux指令碼報錯 /bin/bash^M: bad interpreter: No such file or directory 的解決辦法
問題描述: 執行初始化指令碼的時候遇到一個很奇怪的錯誤,老是提示檔案或目錄找不到. 開啟指令碼反覆檢查,發現路徑都是對的 然後google了一下發現原來是我的檔案格式寫錯了,在windows下用檔案編輯器編輯的預設格式是dos 解決辦法: 在linux下需要把格式改為unix,這