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
import docker
ImportError
I had backports.ssl-match-hostname installed locally, which was preventing it from being installed at the system level. I solved it by
backports.ssl-match-hostname
sudo pip uninstall backports.ssl-match-hostname
followed by
sudo pip install --upgrade docker