Error on Lion 10.8/Python 3.3/ Install

Hi folks,

Im trying install Ansible in my Mac with Lion 10.8 and after do all configurations from:

http://www.ansibleworks.com/docs/gettingstarted.html

My terminal show the next message:

$ ansible all -m ping --ask-pass
File “/ansible/bin/ansible”, line 162
except errors.AnsibleError, e:
^
SyntaxError: invalid syntax

Any tips?

My system is:

Mac OS X Lion 10.8.x, Python 3.3

Marcelo Costa

Hello Marcelo

Mac OS X Lion 10.8.x, Python 3.3

Ansible requires python2. Please read second note in
http://www.ansibleworks.com/docs/gettingstarted.html to integrate to a
local python2 installation.

Regards,
maykel