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

107 views
Skip to first unread message

Charles Moulliard

unread,
Jun 18, 2020, 5:22:05 AM6/18/20
to Ansible Project
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 ?


Best

Charles

Dick Visser

unread,
Jun 18, 2020, 12:44:33 PM6/18/20
to ansible...@googlegroups.com
the error indicates that the system's python 2.7 is used

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



--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/12d78ac9-f317-4c01-92a1-1d02df128e2do%40googlegroups.com.


--
Dick Visser
Trust & Identity Service Operations Manager
GÉANT
Reply all
Reply to author
Forward
0 new messages