Closed natelandau closed 4 years ago
We should be able to use the pre-built wheels on pypi.
Is this only the case on Raspbian 10? Or is this happening in regular old Debian as well?
The Debian 10 tests seem to pass without issue: https://travis-ci.com/github/geerlingguy/ansible-role-docker_arm/jobs/299281915
I got this on armbian buster.
I installed the dependency as described above, but now I get the following error: $ docker-compose --version
Traceback (most recent call last):
File "/usr/local/bin/docker-compose", line 6, in <module>
from compose.cli.main import main
File "/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 18, in <module>
import docker.errors
File "/usr/local/lib/python2.7/dist-packages/docker/__init__.py", line 2, in <module>
from .api import APIClient
File "/usr/local/lib/python2.7/dist-packages/docker/api/__init__.py", line 2, in <module>
from .client import APIClient
File "/usr/local/lib/python2.7/dist-packages/docker/api/client.py", line 10, in <module>
from .build import BuildApiMixin
File "/usr/local/lib/python2.7/dist-packages/docker/api/build.py", line 6, in <module>
from .. import auth
File "/usr/local/lib/python2.7/dist-packages/docker/auth.py", line 9, in <module>
from .utils import config
File "/usr/local/lib/python2.7/dist-packages/docker/utils/__init__.py", line 3, in <module>
from .decorators import check_resource, minimum_version, update_headers
File "/usr/local/lib/python2.7/dist-packages/docker/utils/decorators.py", line 4, in <module>
from . import utils
File "/usr/local/lib/python2.7/dist-packages/docker/utils/utils.py", line 13, in <module>
from .. import tls
File "/usr/local/lib/python2.7/dist-packages/docker/tls.py", line 5, in <module>
from .transport import SSLHTTPAdapter
File "/usr/local/lib/python2.7/dist-packages/docker/transport/__init__.py", line 3, in <module>
from .ssladapter import SSLHTTPAdapter
File "/usr/local/lib/python2.7/dist-packages/docker/transport/ssladapter.py", line 23, in <module>
from backports.ssl_match_hostname import match_hostname
ImportError: No module named ssl_match_hostname
@mikev1963 You need to use the distribution's package backports.ssl-match-hostname instead of the one from pip. See #4 for more information.
Not an issue with this repo per se, but the playbook fails to install docker-compose via pip. See this thread: https://github.com/docker/compose/issues/6617
I believe you need to pin the version or add it as a variable to the role