Ah I saw you have docker-py installed globally and installed docker for your user with pip?
https://github.com/ansible/ansible/issues/37958#issuecomment-376320961 Seems like there's a problem with having both. Sebastian On 10.04.19 15:21, Andrew Meyer wrote: > Any other thoughts? > > On Tuesday, April 9, 2019 at 4:15:09 PM UTC-5, Andrew Meyer wrote: >> >> Root is using the same version. Also I stopped doing that as root. >> >> [ameyer@awx01 ~]$ python >> Python 2.7.5 (default, Oct 30 2018, 23:45:53) >> [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] on linux2 >> Type "help", "copyright", "credits" or "license" for more information. >>>>> import compose >>>>> exit() >> [ameyer@awx01 ~]$ >> >> >> >> On Tuesday, April 9, 2019 at 4:09:16 PM UTC-5, Sebastian Meyer wrote: >>> >>> On 09.04.19 22:51, Andrew Meyer wrote: >>>> [ameyer@awx01 ~]$ pip --version >>>> pip 19.0.3 from /usr/lib/python2.7/site-packages/pip (python 2.7) >>>> [ameyer@awx01 ~]$ ansible localhost -m setup|grep >>> ansible_python_version >>>> [WARNING]: provided hosts list is empty, only localhost is available. >>> Note >>>> that the implicit localhost does not match 'all' >>>> "ansible_python_version": "2.7.5", >>>> [ameyer@awx01 ~]$ >>> Okay so it seems they are using the same python version. Does executing >>> python and importing compose work? >>> >>> $ python >>> Python 2.7.14 (default, Oct 12 2017, 15:50:02) [GCC] on linux2 >>> Type "help", "copyright", "credits" or "license" for more information. >>>>>> import compose >>>>>> >>> >>> I noticed you executed the installer playbook with root. Could you check >>> pip and ansible_python_version there too? Just to be sure there's no >>> mixup there. >>> >>> Regards >>> Sebastian >>> >>> -- >>> Sebastian Meyer >>> Linux Consultant & Trainer >>> Mail: me...@b1-systems.de >>> >>> B1 Systems GmbH >>> Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de >>> GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 >>> >> > -- Sebastian Meyer Linux Consultant & Trainer Mail: me...@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/e539b6a5-4779-232d-ebab-070ed0fd482c%40b1-systems.de. For more options, visit https://groups.google.com/d/optout.