检查安装pip
1.安装依赖环境
$ sudo yum -y install epel-release
2.安装 python-pip
$ sudo yum install python-pip
3.升级pip到最新版本
$ sudo pip install --upgrade pip
安装docker-compose
$ sudo pip install docker-compose
注意:
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 install docker-compose --ignore-installed requests
网友评论