You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failed to import the required Python library (Docker SDK for Python: docker (Python >= 2.7) or docker-py (Python 2.6)) on <hostname>'s Python /usr/bin/python. Please read the module documentation and install it in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter, for example via `pip install docker` or `pip install docker-py` (Python 2.6). The error was: cannot import name '__version__' from 'docker' (unknown location)
To Reproduce
Steps to reproduce the behavior:
Install Ansible
Try to deploy something on Docker or Docker Swarm via Ansible
Packages list:
sudo dnf install python3-requests
pip install docker
Expected behavior
To be able to deploy without an issue
Screenshots
N/A
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered:
I used the specific botocore version here because of a bug in our current repos where trying to install botocore without an explicit version downgrades awscli instead and generally makes a mess of things (#704), but once that is fixed, just installing botocore from dnf should do the job too
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Packages list:
sudo dnf install python3-requests
pip install docker
Expected behavior
To be able to deploy without an issue
Screenshots
N/A
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: