解决: -bash: docker-compose: command not found、linux 安装 docker-compose

太过爱你忘了你带给我的痛 2022-12-08 15:47 245阅读 0赞

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

426136e8363e68fc321f3d3551b0d579.png

微风—轻许— 2018-11-27 18:06:01 11d4e66b47a786d7307438a15382d44a.png 26470 50c7c045de1e4400c6f27a33ed55cf7c.png 收藏 8

分类专栏: Docker 坑,傻踩傻乐 … 文章标签: -bash: docker-compose : command not found linux 安装 docker-compose

版权

  1. 运行docker-compose 命令报错:

    -bash: docker-compose: command not found

2.安装:

1)先安装 pip ,检查是否已有: pip -V

报错:

  1. -bash: pip: command not found

安装 pip :

  1. yum -y install epel-release
  2. yum -y install python-pip
  3. #升级
  4. pip install --upgrade pip

2) 安装Docker-Compose:








1

sudo pip install docker-compose     加上sudo就能安装上去了

  1. pip install docker-compose 本地虚拟机安装不上去

检查是是否成功:

  1. docker-compose -version

watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3UwMTEzMTQ0NDI_size_16_color_FFFFFF_t_70

OK 了。

参考:https://www.cnblogs.com/YatHo/p/7815400.html

ERROR: Cannot uninstall ‘requests’. It is a distutils installed project and thus we cannot accuratel

426136e8363e68fc321f3d3551b0d579.png

guoshaoliang789 2019-07-22 17:45:06 11d4e66b47a786d7307438a15382d44a.png 8799 50c7c045de1e4400c6f27a33ed55cf7c.png 收藏 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.

watermark_type_ZmFuZ3poZW5naGVpdGk_shadow_10_text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2d1b3NoYW9saWFuZzc4OQ_size_16_color_FFFFFF_t_70

解决方法:

pip安装airtest时,报错这个问题参考网上解决方法,顺利解决

sudo pip install —ignore-installed requests即可

在用pip安装时候遇到Cannot uninstall ****,It is a distutils installed project and thus we cannot accurate的处理

426136e8363e68fc321f3d3551b0d579.png

jessican_uestc 2018-06-28 22:00:16 11d4e66b47a786d7307438a15382d44a.png 3800 50c7c045de1e4400c6f27a33ed55cf7c.png 收藏 2

版权

则可以采用这个命令,即可解决:

sudo pip install tensorflow —ignore-installed ***

sudo pip install tensorflow —ignore-installed subprocess32

发表评论

表情:
评论列表 (有 0 条评论,245人围观)

还没有评论,来说两句吧...

相关阅读