Already installed Ansible on OSX via PIP but still not found
<p>I already installed <code>ansible</code> via <code>pip</code> but when I run <code>ansible</code> via the command line it says command still not found.</p>
<p>I also looked for the <code>/etc/ansible/hosts</code> file but it seems that it's not found.</p>
<p>Am I missing something?</p>
<h3>EDIT</h3>
<p>Commands I ran:
<code>sudo pip install ansible</code><br />
and response was<br />
<code>Successfully installed ansible paramiko jinja2 PyYAML pycrypto ecdsa MarkupSafe</code></p>
<p>I also have <code>Xcode</code> installed.</p>
<p>I can also see that <code>ansible</code> is indeed installed in <code>pip list</code>:</p>
<blockquote>
<p>ansible (2.0.2.0)<br />
ecdsa (0.13)<br />
Jinja2 (2.8)<br />
MarkupSafe (0.23)<br />
mysql-utilities (1.5.3)<br />
paramiko (1.16.0)<br />
pip (1.5.6)<br />
pycrypto (2.6.1)<br />
PyYAML (3.11)<br />
setuptools (20.9.0)<br />
vboxapi (1.0)<br />
wsgiref (0.1.2)</p>
</blockquote>
<h2>UPDATE</h2>
<p>So fixed my own problem. I had <code>Python</code> installed before and had another instance installed when I installed <code>Xcode</code>. So what I did is removed my previous installation and just used the <code>Python</code> that came with <code>Xcode</code>. It was confusing at first because they both have the same version so I wasn't sure which was which.</p>
<h1>Follow Up Question:</h1>
<p>So I have an existing <code>/usr/bin/python</code> installed but I'm not sure where this is sourced from. Because this doesn't seem like a symbolic link but actually an executable. Anyone has an idea? Is this from the <code>/System/</code> or from <code>/Library/</code>?</p>