解决: -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
版权
运行docker-compose 命令报错:
-bash: docker-compose: command not found
2.安装:
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 -version
OK 了。
参考: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
还没有评论,来说两句吧...