# Issue with installing ansible 1.9.1 using python 2.7.10 on Mac OSX (with gather\_facts: yes)

**URL:** <https://forum.ansible.com/t/issue-with-installing-ansible-1-9-1-using-python-2-7-10-on-mac-osx-with-gather-facts-yes/18430>\
**Category:** Ansible Project\
**Created:** [June 8, 2015, 3:16pm UTC](https://forum.ansible.com/t/issue-with-installing-ansible-1-9-1-using-python-2-7-10-on-mac-osx-with-gather-facts-yes/18430 "2015-06-08T15:16:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AnsibleUser026](https://avatars.discourse-cdn.com/v4/letter/a/b4bc9f/32.png) [@AnsibleUser026](https://forum.ansible.com/u/AnsibleUser026)\
**Post date:** [June 8, 2015, 3:16pm UTC](https://forum.ansible.com/t/issue-with-installing-ansible-1-9-1-using-python-2-7-10-on-mac-osx-with-gather-facts-yes/18430/1 "2015-06-08T15:16:08Z")

</div>

I recently upgraded to ansible 1.9.1 and was not successful in executing any of my old playbooks (which ran successfully using 1.7.1) on local MAC (OSX) machine. I’ve tried many things, including installing Python in a custom space but still not able to resolve.

Here is the setup on **Mac OSX (10.10.3)**:

```auto
1. Python

    $ which python

    /Library/Frameworks/Python.framework/Versions/2.7/bin/python

    **2.7.10 (v2.7.10:15c95b7d81dc, May 23 2015, 09:33:12)**
    [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]

2. pip

    $ which pip

    /Library/Frameworks/Python.framework/Versions/2.7/bin/pip

    $ pip -V

    **pip 1.5.5** 

    from /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.5.5-py2.7.egg (python 2.7)

3. Ansible

    $ ansible --version

    **ansible 1.9.1**

      configured module search path = externals/libraries:/usr/share/ansible:/usr/local/share/ansible

```

**Playbook Error:**

```auto
PLAY [localhost] **************************************************************

GATHERING FACTS ***************************************************************
failed: [localhost] => {"failed": true, "parsed": false}
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)

```

Note: If I make “gather\_facts: no” in the playbook, it works. Though it is not very useful in that case :(.

Please help with your thoughts ASAP.
