Receiving an error for docker-py when attempting to build a docker image.

I receive the appended error when I use the following ansible command:

docker_image: path=./docker name=url\container:v7.2.4 tag=7.2.4 push=yes

fatal: [jira-1.corp.inbaytech.com]: FAILED! => {“changed”: false, “failed”: true, “msg”: “Failed to import docker-py - No module named requests.exceptions. Try pip install docker-py”}

And did you install docker-py?

Johannes