# AWX 23.6 install fails when using docker-compose

**URL:** <https://forum.ansible.com/t/awx-23-6-install-fails-when-using-docker-compose/4063>\
**Category:** Get Help\
**Tags:** kubernetes, collections, awx\
**Created:** [February 26, 2024, 2:49pm UTC](https://forum.ansible.com/t/awx-23-6-install-fails-when-using-docker-compose/4063 "2024-02-26T14:49:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aj-kyriba](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/aj-kyriba/32/2409_2.png) [@aj-kyriba](https://forum.ansible.com/u/aj-kyriba)\
**Post date:** [February 26, 2024, 2:49pm UTC](https://forum.ansible.com/t/awx-23-6-install-fails-when-using-docker-compose/4063/1 "2024-02-26T14:49:33Z")

</div>

\*\*AWX 23.6 install fails when using docker-compose \*\*.  
Hello Team  
I am trying to install AWX 23.6, 22.0 and few other using docker-compose tools  
My Env

- Docker version 20.10.25
- docker-compose version 1.29.2
- ansible [core 2.15.9]
- python3.9
- EC2 AL2

```auto
make docker-compose-build > Creates the image 
docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
ghcr.io/ansible/awx_devel HEAD 07de86ce04b4 26 minutes ago 1.82GB

```

But  
make docker-compose  
Keeps running without stopping and i see the following error in the logs

```auto
tools_awx_1 | make[1]: Entering directory '/awx_devel'
tools_awx_1 | Traceback (most recent call last):
tools_awx_1 | File "/var/lib/awx/venv/awx/bin/daphne", line 8, in <module>
tools_awx_1 | sys.exit(CommandLineInterface.entrypoint())
tools_awx_1 | File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/daphne/cli.py", line 170, in entrypoint
tools_awx_1 | cls().run(sys.argv[1:])
tools_awx_1 | File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/daphne/cli.py", line 232, in run
tools_awx_1 | application = import_by_path(args.application)
tools_awx_1 | File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/daphne/utils.py", line 12, in import_by_path
tools_awx_1 | target = importlib.import_module(module_path)
tools_awx_1 | File "/usr/lib64/python3.9/importlib/ __init__.py", line 127, in import_module
tools_awx_1 | return _bootstrap._gcd_import(name[level:], package, level)
tools_awx_1 | File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
tools_awx_1 | File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
tools_awx_1 | File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
tools_awx_1 | File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
tools_awx_1 | File "<frozen importlib._bootstrap_external>", line 850, in exec_module
tools_awx_1 | File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
tools_awx_1 | File "/awx_devel/./awx/asgi.py", line 12, in <module>
tools_awx_1 | prepare_env() # NOQA
tools_awx_1 | File "/awx_devel/./awx/ __init__.py", line 107, in prepare_env
tools_awx_1 | if not settings.DEBUG: # pragma: no cover
tools_awx_1 | File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/django/conf/ __init__.py", line 102, in __getattr__
tools_awx_1 | self._setup(name)
tools_awx_1 | File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/django/conf/ __init__.py", line 89, in _setup
tools_awx_1 | self._wrapped = Settings(settings_module)
tools_awx_1 | File "/var/lib/awx/venv/awx/lib64/python3.9/site-packages/django/conf/ __init__.py", line 217, in __init__
tools_awx_1 | mod = importlib.import_module(self.SETTINGS_MODULE)
tools_awx_1 | File "/usr/lib64/python3.9/importlib/ __init__.py", line 127, in import_module
tools_awx_1 | return _bootstrap._gcd_import(name[level:], package, level)
tools_awx_1 | File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
tools_awx_1 | File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
tools_awx_1 | File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
tools_awx_1 | File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
tools_awx_1 | File "<frozen importlib._bootstrap_external>", line 850, in exec_module
tools_awx_1 | File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
tools_awx_1 | File "/awx_devel/./awx/settings/development.py", line 21, in <module>
tools_awx_1 | from .defaults import * # NOQA
tools_awx_1 | File "/awx_devel/./awx/settings/defaults.py", line 1070, in <module>
tools_awx_1 | from ansible_base import settings # noqa: E402
tools_awx_1 | ImportError: cannot import name 'settings' from 'ansible_base' (/var/lib/awx/venv/awx/lib64/python3.9/site-packages/ansible_base/ __init__.py)
tools_awx_1 | make[1]: Leaving directory '/awx_devel'

```

Can you please let me know how to fix this or suggest a stable version for which docker-compose installation works.

NOTE: K8S installation is not an option for me.

Thanks in advance
