On 28.01.2018 01:34, Andrew Morgan wrote:
Thank you for your response..
Yes, from what I can see there are multiple versions,
whereis python
python: /usr/bin/python2.6 /usr/bin/python /usr/bin/python2.6-config
/usr/
lib/python2.6 /usr/lib64/python2.6 /usr/local/bin/python
/usr/local/bin/
python2.7-config /usr/local/bin/python2.7 /usr/local/lib/python2.7
/usr/
include/python2.6 /usr/share/man/man1/python.1.gz
[root@zabbix ~]# which python
/usr/local/bin/python
[root@zabbix ~]# /usr/local/bin/python --version
Python 2.7
]# python
python python2.6 python2.7 python-config
python2 python2.6-config python2.7-config
Ansible is hard coded to /usr/bin/python i guess you /usr/bin/python is
pointing to Python 2.6 but you have installed the module in the Python
2.7.
You need to clean up you environment so that match.
--
Kai Stian Olstad
--
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-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/072de3dad04e343bd9241508b9dfa3b4%40olstad.com.
For more options, visit https://groups.google.com/d/optout.