# AWX install - failed docker compose

**URL:** <https://forum.ansible.com/t/awx-install-failed-docker-compose/32157>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [February 6, 2020, 1:12pm UTC](https://forum.ansible.com/t/awx-install-failed-docker-compose/32157 "2020-02-06T13:12:36Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oxs](https://avatars.discourse-cdn.com/v4/letter/o/ebca7d/32.png) [@Oxs](https://forum.ansible.com/u/Oxs)\
**Post date:** [February 6, 2020, 1:12pm UTC](https://forum.ansible.com/t/awx-install-failed-docker-compose/32157/1 "2020-02-06T13:12:36Z")

</div>

some idea?

TASK [local\_docker : Start the containers] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
fatal: [localhost]: FAILED! =\> {“changed”: false, “msg”: “Unable to load docker-compose. Try `pip install docker-compose`. Error: No module named compose”}

root@vmansmde01:~/awx/installer# pip install docker-compose  
Collecting docker-compose  
Could not fetch URL [https://pypi.python.org/simple/docker-compose/:](https://pypi.python.org/simple/docker-compose/:) There was a problem confirming the ssl certificate: [SSL: CERTIFICATE\_VERIFY\_FAILED] certificate verify failed (\_ssl.c:618) - skipping  
Could not find a version that satisfies the requirement docker-compose (from versions: )  
No matching distribution found for docker-compose  
root@vmansmde01:~/awx/installer#

---

<div class="post-metadata">

**Author:** ![Nico\_Wunder1](https://avatars.discourse-cdn.com/v4/letter/n/a88e4f/32.png) [@Nico\_Wunder1](https://forum.ansible.com/u/Nico_Wunder1)\
**Post date:** [February 7, 2020, 6:22am UTC](https://forum.ansible.com/t/awx-install-failed-docker-compose/32157/2 "2020-02-07T06:22:23Z")

</div>

Hello Pierre,

> Could not fetch URL [https://pypi.python.org/simple/docker-compose/](https://pypi.python.org/simple/docker-compose/): There was a problem confirming the ssl certificate: [SSL: CERTIFICATE\_VERIFY\_FAILED] certificate verify failed (\_ssl.c:618) - skipping

Looks like python’s pip is trying to download docker-compose from [pypi.python.org](http://pypi.python.org). Make sure you can reach it. Alternatively you can download the packages and install them offline with “pip”.

Follow the Pythone Docs here: [https://packaging.python.org/tutorials/installing-packages/#installing-from-local-archives](https://packaging.python.org/tutorials/installing-packages/#installing-from-local-archives)

Regards,  
Nico

---

<div class="post-metadata">

**Author:** ![Matt\_Barry](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@Matt\_Barry](https://forum.ansible.com/u/Matt_Barry)\
**Post date:** [February 7, 2020, 11:37am UTC](https://forum.ansible.com/t/awx-install-failed-docker-compose/32157/3 "2020-02-07T11:37:16Z")

</div>

You’re going to have to disable SSL cert verification for pip. Be careful, I recall this being one of the more fragile components.

m

---

<div class="post-metadata">

**Author:** ![Oxs](https://avatars.discourse-cdn.com/v4/letter/o/ebca7d/32.png) [@Oxs](https://forum.ansible.com/u/Oxs)\
**Post date:** [February 11, 2020, 12:34am UTC](https://forum.ansible.com/t/awx-install-failed-docker-compose/32157/4 "2020-02-11T00:34:55Z")

</div>

Thanks guys for your help  
I have try with other host and I have another error :-/

TASK [local\_docker : Start the containers] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
fatal: [localhost]: FAILED! =\> {“changed”: false, “msg”: “Failed to import the required Python library (Docker SDK for Python: docker (Python \>= 2.7) or docker-py (Python 2.6)) on [pgsql-test.adm.cacc.ch](http://pgsql-test.adm.cacc.ch)’s Python /usr/bin/python. Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible\_python\_interpreter, for example via `pip install docker` or `pip install docker-py` (Python 2.6). The error was: No module named docker”}

---

<div class="post-metadata">

**Author:** ![Matt\_Barry](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@Matt\_Barry](https://forum.ansible.com/u/Matt_Barry)\
**Post date:** [February 11, 2020, 2:56pm UTC](https://forum.ansible.com/t/awx-install-failed-docker-compose/32157/5 "2020-02-11T14:56:00Z")

</div>

Are you in fact using a manually installed python? Unless you specify an interpreter, the list of paths it tries is (annoyingly) somewhat hardcoded…

---

<div class="post-metadata">

**Author:** ![Oxs](https://avatars.discourse-cdn.com/v4/letter/o/ebca7d/32.png) [@Oxs](https://forum.ansible.com/u/Oxs)\
**Post date:** [February 11, 2020, 3:52pm UTC](https://forum.ansible.com/t/awx-install-failed-docker-compose/32157/6 "2020-02-11T15:52:49Z")

</div>

new error:

“msg”: “Unable to load docker-compose. Try `pip install docker-compose`. Error: Traceback (most recent call last):\n File "/tmp/ansible\_docker\_compose\_payload\_t7zk1V/ansible\_docker\_compose\_payload.zip/ansible/modules/cloud/docker/docker\_compose.py", line 477, in \nImportError: No module named compose\n”  
}

---

<div class="post-metadata">

**Author:** ![Nico\_Wunder](https://avatars.discourse-cdn.com/v4/letter/n/46a35a/32.png) [@Nico\_Wunder](https://forum.ansible.com/u/Nico_Wunder)\
**Post date:** [February 11, 2020, 4:00pm UTC](https://forum.ansible.com/t/awx-install-failed-docker-compose/32157/7 "2020-02-11T16:00:14Z")

</div>

Hello Pierre,

what steps did you take since last?

Regards,  
Nico

– – You received this message because you are subscribed to a topic in the Google Groups “AWX Project” group. To unsubscribe from this topic, visit . To unsubscribe from this group and all its topics, send an email to . To view this discussion on the web visit .

---

<div class="post-metadata">

**Author:** ![Oxs](https://avatars.discourse-cdn.com/v4/letter/o/ebca7d/32.png) [@Oxs](https://forum.ansible.com/u/Oxs)\
**Post date:** [February 12, 2020, 3:30pm UTC](https://forum.ansible.com/t/awx-install-failed-docker-compose/32157/8 "2020-02-12T15:30:26Z")

</div>

now I’m blocked at this step, you know how to fixed the problem?

WARNING: The CURRENT\_UID variable is not set. Defaulting to a blank string.  
WARNING: The DEV\_DOCKER\_TAG\_BASE variable is not set. Defaulting to a blank string.  
WARNING: The TAG variable is not set. Defaulting to a blank string.  
Pulling awx (/awx\_devel:)…  
ERROR: Error parsing reference: “/awx\_devel” is not a valid repository/tag: invalid reference format
