geerlingguy / geerlingguy/drupal-container

Getting 'Failed to import the required Python library Docker SDK'

Open
#33 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Shell
Stars
48
Forks
26
PR merge metrics
No merged PRs in 30d

Description

```
TASK [Build the x86 Docker image from the main Dockerfile.] ********************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to import the required Python library (Docker SDK for Python: docker (Python >= 2.7) or docker-py (Python 2.6)) on fv-az190-719's Python /opt/hostedtoolcache/Python/3.9.5/x64/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: No module named 'six'"}
```

Lots of failed builds with the above. Not sure why, I do the install on the Actions CI environment with `pip3 install ansible docker` :/

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.