Packer Build for windows 2019 + Ansible failing


My packer build with ansible is failing with

Successfully installed MarkupSafe-1.1.1 PyYAML-5.4.1 ansible-2.9.25 awscli-1.19.112 boto3-1.17.112 botocore-1.20.112 certifi-2021.10.8 cffi-1.15.0 chardet-4.0.0 colorama-0.4.3 cryptography-3.3.2 docutils-0.15.2 enum34-1.1.10 futures-3.3.0 idna-2.10 ipaddress-1.0.23 jinja2-2.11.3 jmespath-0.10.0 ntlm-auth-1.5.0 pyasn1-0.4.8 pycparser-2.21 python-dateutil-2.8.2 pywinrm-0.4.2 requests-2.27.1 requests-ntlm-1.1.0 rsa-4.5 s3transfer-0.4.2 six-1.16.0 urllib3-1.26.8 xmltodict-0.12.0

“msg”: “winrm or requests is not installed: No module named ‘winrm’”

pywinrm is installed

amazon-ebs: TASK [Gathering Facts] *********************************************************

amazon-ebs: “msg”: “winrm or requests is not installed: No module named ‘winrm’”

Did you find a solution for this?