# Error connecting: load\_config() got an unexpected keyword argument 'config\_dict'

**URL:** <https://forum.ansible.com/t/error-connecting-load-config-got-an-unexpected-keyword-argument-config-dict/27117>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [March 26, 2018, 2:58pm UTC](https://forum.ansible.com/t/error-connecting-load-config-got-an-unexpected-keyword-argument-config-dict/27117 "2018-03-26T14:58:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Satyapal\_Singh](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@Satyapal\_Singh](https://forum.ansible.com/u/Satyapal_Singh)\
**Post date:** [March 26, 2018, 2:58pm UTC](https://forum.ansible.com/t/error-connecting-load-config-got-an-unexpected-keyword-argument-config-dict/27117/1 "2018-03-26T14:58:42Z")

</div>

Hi,

I am trying to install AWX using local\_docker and getting below exception :

fatal: [localhost]: FAILED! =\> {“changed”: false, “msg”: “Error connecting: load\_config() got an unexpected keyword argument ‘config\_dict’”}

Below are version details:

python - 2.7.5  
ansible - 2.4.2.0  
pip - 9.0.3  
docker-py - 1.10.6  
pip docker - 3.1.4  
Docker - 1.6.1

From couple of articles i came to know to downgrade pip docker - 3.1.4 to 3.0.0. tried that as well but same exception.

Kindly help me to get install AWX.  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Mrinal\_Pande](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@Mrinal\_Pande](https://forum.ansible.com/u/Mrinal_Pande)\
**Post date:** [March 27, 2018, 8:51am UTC](https://forum.ansible.com/t/error-connecting-load-config-got-an-unexpected-keyword-argument-config-dict/27117/2 "2018-03-27T08:51:43Z")

</div>

Hi,

I think it is because of the python interpreter.  
Can you try running the playbook with the -e option?

ansible-playbook -e “ansible\_python\_interpreter=python” -i inventory install.yml

---

<div class="post-metadata">

**Author:** ![Satyapal\_Singh](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@Satyapal\_Singh](https://forum.ansible.com/u/Satyapal_Singh)\
**Post date:** [March 29, 2018, 3:28pm UTC](https://forum.ansible.com/t/error-connecting-load-config-got-an-unexpected-keyword-argument-config-dict/27117/3 "2018-03-29T15:28:36Z")

</div>

Hi Mrinal,

Thanks for suggestion.  
Tried but bad luck, same exception.

---

<div class="post-metadata">

**Author:** ![matburt](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/matburt/32/3612_2.png) [@matburt](https://forum.ansible.com/u/matburt)\
**Post date:** [March 29, 2018, 7:04pm UTC](https://forum.ansible.com/t/error-connecting-load-config-got-an-unexpected-keyword-argument-config-dict/27117/4 "2018-03-29T19:04:48Z")

</div>

I’ve been seeing this error more lately with extremely bleeding edge ansible versions.
