# json module not found with python 2.7

**URL:** <https://forum.ansible.com/t/json-module-not-found-with-python-2-7/15357>\
**Category:** Ansible Project\
**Created:** [May 28, 2014, 7:40pm UTC](https://forum.ansible.com/t/json-module-not-found-with-python-2-7/15357 "2014-05-28T19:40:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick\_Evgeniev](https://avatars.discourse-cdn.com/v4/letter/n/94ad74/32.png) [@Nick\_Evgeniev](https://forum.ansible.com/u/Nick_Evgeniev)\
**Post date:** [May 28, 2014, 7:40pm UTC](https://forum.ansible.com/t/json-module-not-found-with-python-2-7/15357/1 "2014-05-28T19:40:11Z")

</div>

Hi,  
new to ansible so may be it’s somewhere in FAQ… just installed ansible:

Python 2.7.5

ansible 1.6.2

Darwin 13.1.0 Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; root:xnu-2422.90.20~2/RELEASE\_X86\_64 x86\_64

$ ansible -i ./ans\_hosts all -m ping

labgw1 | FAILED \>\> {

“failed”: true,

**“msg”: “Error: ansible requires a json module, none found!”** ,

“parsed”: false

}

Any clue?

---

<div class="post-metadata">

**Author:** ![sivel](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/sivel/32/1198_2.png) [@sivel](https://forum.ansible.com/u/sivel)\
**Post date:** [May 29, 2014, 2:35pm UTC](https://forum.ansible.com/t/json-module-not-found-with-python-2-7/15357/2 "2014-05-29T14:35:14Z")

</div>

Your labgw1 server is missing the python simplejson package likely due to it running a python version less than 2.6.

[http://docs.ansible.com/intro\_installation.html#managed-node-requirements](http://docs.ansible.com/intro_installation.html#managed-node-requirements)

---

<div class="post-metadata">

**Author:** ![Nick\_Evgeniev](https://avatars.discourse-cdn.com/v4/letter/n/94ad74/32.png) [@Nick\_Evgeniev](https://forum.ansible.com/u/Nick_Evgeniev)\
**Post date:** [May 29, 2014, 3:46pm UTC](https://forum.ansible.com/t/json-module-not-found-with-python-2-7/15357/3 "2014-05-29T15:46:12Z")

</div>

you’re right. I was lucky enough to try the only server with old python 🙂
