'Cannot send command to device via ansible

I am trying to send command show run for switch via ansible, but I got an error message as below. Not sure what is wrong with it.

admin1@Lenovo10:~$ ansible lab-hosts -m raw -a "show run" -u admin -k 

Traceback (most recent call last):
File "/usr/bin/ansible", line 34, 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'

Based on suggestions from the below reply. I reinstalled ansible, but the issue is still there. Below is commands for installation of ansible. Thank you!

$ 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


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source