`winrm or requests is not installed: No module named 'winrm'`
BeginnerTroubleshootingCloud, AWX, Windows and Molecule
Answer
Likely causes → The controller's Python lacks pywinrm. Windows hosts run modules over WinRM, and the client library is on the controller side.
Fix →
pip install "pywinrm>=0.4" # add [kerberos] or [credssp] extras as needed
Install it into the same environment ansible-playbook uses (check ansible --version for the Python path) or into the EE.
Prevent → Keep pywinrm (and pypsrp if you use psrp) in the EE's requirements.txt.
More on Cloud, AWX, Windows and Molecule
`Failed to import the required Python library (botocore and boto3) on web01's Python /usr/bin/python3.`Beginner`[WARNING]: * Failed to parse inventory/aws.yml with auto plugin: inventory source 'inventory/aws.yml' could not be verified by inventory plugin 'amazon.aws.aws_ec2'`IntermediateThe `aws_ec2` inventory parses without errors but returns zero hostsIntermediate`Failed to describe instances: An error occurred (UnauthorizedOperation) when calling the DescribeInstances operation` or `(ExpiredToken)`IntermediateDynamic inventory finds the instances, but every host is `UNREACHABLE`IntermediateUsing the SSM connection plugin fails with `SessionManagerPlugin is not found` or hangs on file transferAdvanced