Unable to enstablish connection to windows client from Ansible Controller

I am getting the below error while running Ansible’s playbook on a Windows client. All the prerequisites have been installed and verified, and the communication is in place.

fatal: [windows_server]: FAILED! => {“msg”: “winrm or requests is not installed: No module named ‘winrm’”}

HI @sardharkhan,

Please go through this two documents to see how to configure and use winrm on windows host

https://docs.ansible.com/ansible/latest/os_guide/windows_winrm.html

https://docs.ansible.com/ansible/latest/os_guide/windows_setup.html

Regard