After installation via $brew install ansible
then, I added in ~/.bashrc
export PATH=/usr/local/Cellar/ansible/1.9.2/bin:$PATH
$source .bashrc
then
$ ansible
/usr/local/Cellar/ansible/1.9.2/bin/ansible: /usr/local/Cellar/ansible/1.9.2/libexec/bin/ansible: /usr/bin/python: bad interpreter: No such file or directory
/usr/local/Cellar/ansible/1.9.2/bin/ansible: line 2: /usr/local/Cellar/ansible/1.9.2/libexec/bin/ansible: Undefined error: 0
anyone? My default python is
$which python
/Users/seb/anaconda/bin/python so I guess it doesn’t know which python interpreter to use? If so how to modify Ansible script
Thanks
Sebastian