Last I used ansible was three days ago; this morning I attempted to run and receive the following error:
ansible --version
Traceback (most recent call last):
File “/usr/bin/ansible”, line 43, in
import ansible.constants as C
File “/usr/lib/python2.7/dist-packages/ansible/constants.py”, line 26, in
from ansible.compat.six import string_types
File “/usr/lib/python2.7/dist-packages/ansible/compat/six/init.py”, line 54, in
exec(open(six_py_file, ‘rb’).read())
IOError: [Errno 2] No such file or directory: ‘/usr/bin/six.py’
My current setup is Ubuntu 16.04.2 with all updates as of today. Ansible comes from ppa.launchpad.net/ansible/ansible/ubuntu xenial main. Other version information is:
$ pip show ansible