table of Contents
1 Introduction
2 Preparing the Environment
Installation docker-compose 3
Verify docker-compose 4
5 troubleshooting
5.1 jsonschema version mismatch
5.2 cffi version mismatch
5.3 dnspython version mismatch
5.4 python-ldap version mismatch
5.5 subprocess32 uninstallation fails
1 Introduction
This chapter uses pip install docker-compose 1.25.0 version.
2 Preparing the Environment
yum install -y epel-release
yum install -y openldap-devel
yum install -y python-devel
yum install -y python-pip
pip install --upgrade pip
Installation docker-compose 3
pip install docker-compose
Verify docker-compose 4
docker-compose version
5 troubleshooting
5.1 jsonschema version mismatch
ERROR: jsonschema 3.2.0 has requirement six>=1.11.0, but you'll have six 1.9.0 which is incompatible.
Execute the following statement:
pip install six --user -U
pip install ipython --user -U
5.2 cffi version mismatch
ERROR: cryptography 2.8 has requirement cffi!=1.11.3,>=1.8, but you'll have cffi 1.6.0 which is incompatible.
Execute the following statement:
pip install cffi --user -U
5.3 dnspython version mismatch
ERROR: ipapython 4.6.5 has requirement dnspython>=1.15, but you'll have dnspython 1.12.0 which is incompatible.
Execute the following statement:
pip install dnspython --user -U
5.4 python-ldap version mismatch
ERROR: ipapython 4.6.5 has requirement python-ldap>=3.0.0b1, but you'll have python-ldap 2.4.15 which is incompatible.
Execute the following statement:
pip install --upgrade python-ldap --user -U
5.5 subprocess32 uninstallation fails
ERROR: Cannot uninstall 'subprocess32'. 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.
Execute the following statement:
pip install docker-compose --ignore-installed subprocess32