解决: -bash: docker-compose: command not found、linux 安装 docker-compose
?
https://blog.csdn.net/jiangyu1013/article/details/84570872
https://blog.csdn.net/guoshaoliang789/article/details/96878731
?
?
?
?
?
?
?
解決: -bash: docker-compose: command not found、linux 安裝 docker-compose
微風--輕許--?2018-11-27 18:06:01??26470??收藏?8
分類專欄:?Docker?坑,傻踩傻樂 ...?文章標簽:??-bash: docker-compose?: command not found?linux??安裝??docker-compose?
版權
1. 運行docker-compose 命令報錯:
-bash: docker-compose: command not found2.安裝:
1)先安裝 pip ,檢查是否已有:?pip -V?
報錯:
-bash: pip: command not found安裝? pip :
yum -y install epel-release
yum -y install python-pip
#升級
pip install --upgrade pip
2)?安裝Docker-Compose:
?| 1 | sudo pip install docker-compose? ? ?加上sudo就能安裝上去了 |
pip install docker-compose? ?本地虛擬機安裝不上去?
檢查是是否成功:
docker-compose -versionOK 了。
?
參考:https://www.cnblogs.com/YatHo/p/7815400.html
?
?
?
?
?
?
?
?
?
?
?
?
?
?
ERROR: Cannot uninstall 'requests'. It is a distutils installed project and thus we cannot accuratel
guoshaoliang789?2019-07-22 17:45:06??8799??收藏?5
分類專欄:?排錯
版權
ERROR: Cannot uninstall 'requests'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
解決方法:
pip安裝airtest時,報錯這個問題參考網上解決方法,順利解決
sudo pip install --ignore-installed requests即可
?
?
?
?
?
?
?
在用pip安裝時候遇到Cannot uninstall ****,It is a distutils installed project and thus we cannot accurate的處理
jessican_uestc?2018-06-28 22:00:16??3800??收藏?2
版權
則可以采用這個命令,即可解決:
sudo pip install tensorflow --ignore-installed ***
sudo pip install tensorflow --ignore-installed subprocess32
?
?
?
?
?
?
?
?
?
?
?
?
?
總結
以上是生活随笔為你收集整理的解决: -bash: docker-compose: command not found、linux 安装 docker-compose的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 怎样批量获取文件名,批量提取文件名
- 下一篇: Linux 退出保存/不保存