Error connecting: load_config() got an unexpected keyword argument 'config_dict'

Hi All,

Trying to install ansible AWX and getting the below error tried to downgrade to 3.1.0 and 3.0.0 but still no luck

TASK [local_docker : Activate postgres container] **********************************************************************************************************************
fatal: [localhost]: FAILED! => {“changed”: false, “msg”: “Error connecting: load_config() got an unexpected keyword argument ‘config_dict’”}

Version used
ansible 2.6.0
python version = 2.7.13

docker (3.1.1)
docker-py (1.10.6)
docker-pycreds (0.2.2)

From,
Vino.B