Failed to import the required Python library (Docker SDK for Python: docker (Python >= 2.7) or docker-py (Python 2.6)) on MacBook-Pro

Hi,

Who can help me to figure out what to do to avoid that the docker_container module complains that it is not installed

`
Failed to import the required Python library (Docker SDK for Python: docker (Python >= 2.7) or docker-py (Python 2.6)) on MacBook-Pro’s Python /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python

`

while it is well installed as site_package under my virtualenv python3 ?

https://github.com/ansible-collections/community.general/issues/534

Best

Charles

the error indicates that the system’s python 2.7 is used

hence you are not using any other venvs and/or pythons