error while running uptime.py

Hello
I am new to Ansilbe. I downloaded the ansible source code zip from GitHub. I am trying to run uptime.py under examples/scripts. I am getting below error. Please let me know the steps to run this.

UP ***********
FAILED *******
www.google.com >>> Unexpected failure during module execution.
www.example.com >>> Unexpected failure during module execution.
localhost >>> Unexpected failure during module execution.
DOWN *********

I am able to ssh localhost.

Thanks.
Nikhil Gupta

Hello
Can someone pls look into the question below.

https://stackoverflow.com/questions/64847952/getting-error-unexpected-failure-during-module-execution-after-executing-uptim

Thanks,
Nikhil