Error while installing AWX

27 views
Skip to first unread message

arnab sen

unread,
Aug 29, 2018, 12:10:57 AM8/29/18
to Ansible Project
HI, 

I am getting an error while installing AWX in my local machine. 
I am following the instruction given in "https://github.com/ansible/awx/blob/devel/INSTALL.md#postgresql-1
I am using docker/docker-compose to unstall. 

TASK [local_docker : Activate postgres container] ****************************************************************************************************************************************

fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to import docker-py - No module named requests.exceptions. Try `pip install docker-py`"}

to retry, use: --limit @/Users/arnab/Documents/Ansible/trialPlaybooks/AWX/AnsibleAWXRepo/awx/installer/install.retry


Jonathan Lozada De La Matta

unread,
Aug 29, 2018, 7:49:08 AM8/29/18
to ansible...@googlegroups.com
Amab,

How did you install docker-py? did you use a virtualvenv ?

--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/276a5187-2998-4920-9943-13ec0ea94a44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Jonathan lozada de la matta

AUTOMATION PRACTICE



 

arnab sen

unread,
Aug 29, 2018, 11:21:36 AM8/29/18
to ansible...@googlegroups.com
I used the below:

pip install docker-py





You received this message because you are subscribed to a topic in the Google Groups "Ansible Project" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ansible-project/u-3POdsqAmM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ansible-proje...@googlegroups.com.

To post to this group, send email to ansible...@googlegroups.com.

Matt Martz

unread,
Aug 29, 2018, 11:30:40 AM8/29/18
to ansible...@googlegroups.com
You may also need to:

pip uninstall -y requests
pip install requests

Sounds like you may have a broken `requests` installation.


For more options, visit https://groups.google.com/d/optout.


--
Matt Martz
@sivel
sivel.net

Jonathan Lozada De La Matta

unread,
Aug 29, 2018, 11:50:31 AM8/29/18
to ansible...@googlegroups.com
but, did you use a virtualenv/pipenv or pip install --user or at the root level ?


For more options, visit https://groups.google.com/d/optout.

arnab sen

unread,
Aug 29, 2018, 11:52:06 AM8/29/18
to ansible...@googlegroups.com
Used the install command at root level !!

Reply all
Reply to author
Forward
0 new messages