installation on Mac OSX issue

154 views
Skip to first unread message

Sebastian M Cheung

unread,
Aug 18, 2015, 10:50:11 AM8/18/15
to Ansible Project

After installation via $brew install ansible


then, I added in ~/.bashrc


#Ansible

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

Matt Martz

unread,
Aug 18, 2015, 12:12:21 PM8/18/15
to ansible...@googlegroups.com
The recommended method of installing Ansible on Mac is to install from source and not via homebrew.


You are likely to only run into problems with homebrew installed ansible 
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/57590de1-4591-4052-bc1d-056989713051%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Matt Martz
@sivel
sivel.net

Reply all
Reply to author
Forward
0 new messages