In order to use the Docker SDK for Python, I\'m trying to import docker in a Python script, but it\'s resulting in an ImportError with the following tr
I faced the similar issue however was able to resolve by first uninstalling with following commands -
pip uninstall backports.ssl_match_hostname
Once it gets uninstalled successfully then use following commands to install docker client with -
pip install docker-py
I hope this would help to resolve this issue