Hi Ubuntu is installed at windows10 and then the below commands are entered in the Ubunto. It looks like the installing ansible is successful without error message.
$ sudo apt-get update
$ sudo apt-get install software-properties-common
$ sudo apt-add-repository ppa:ansible/ansible
$ sudo apt-get update
$ sudo apt-get install ansible -y
However, the installation mayby unsuccessful because we can see below message with command "ansible -v". Please see the below. Did I miss some step for the installation? Anyone can help for this? Thank you
admin1@Le:~$ ansible -v
Traceback (most recent call last):
File "/usr/bin/ansible", line 44, in <module>
from ansible import context
File "/usr/local/lib/python3.8/dist-packages/ansible/context.py", line 18, in <module>
from ansible.module_utils.common._collections_compat import Mapping, Set
ModuleNotFoundError: No module named 'ansible.module_utils'
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/981a6842-ce60-4b79-bcca-5236900eae4en%40googlegroups.com.