# [Python] pip套件安裝問題 ###### tags: `Python` ## 非最新版時錯誤 安裝pip套件時發生pip版本非最新版的錯誤 顯示目前非最新版: ``` WARNING: You are using pip version 19.2.1, however version 19.2.3 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. ``` 使用更新指令無法成功: ``` python -m pip install --upgrade pip ``` ### 使用<font color="#f00"> --user </font>指令取得全限 解決辦法: ``` python -m pip install --user --upgrade pip ``` ## .txt下套件無法安裝 .txt file ![](https://i.imgur.com/ulD2OJP.jpg) 錯誤訊息: ![](https://i.imgur.com/qUHHrR1.jpg) ``` Running setup.py install for twilio ... error ERROR: Command errored out with exit status 1: ``` 解決方法: * 各別安裝 pip install --user MODULENAME *