I am pretty new to Ansible myself, but based on the error message the
first thing I would try was checking whether a package python-setuptools
was installed on the 172.16.13.160 host.
On 17.06.22 07:55, 'Shivakumar Venkataswamy' via Ansible Project wrote:
Hi team,
I'm traying to install python modules.. during execute facing below
error.. please help me out..
An exception occurred during task execution. To see the full
traceback, use -vvv. The error was: ImportError: No module named
pkg_resources
fatal: [172.16.13.160]: FAILED! => {"changed": false, "msg": "Failed
to import the required Python library (setuptools) on 172.16.13.160's
Python /usr/bin/python. Please read module documentation and install
in the appropriate location. If the required library is installed, but
Ansible is using the wrong Python interpreter, please consult the
documentation on ansible_python_interpreter"}
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/3ddc914f-11b4-4996-98e2-6d5a3d76a444n%40googlegroups.com
<https://groups.google.com/d/msgid/ansible-project/3ddc914f-11b4-4996-98e2-6d5a3d76a444n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/b11d9129-0292-25d9-112f-d5d7ae1112b9%40mailbox.org.