benjamin-maynard / Pi-Camera-in-a-box

Stream your Raspberry Pi Camera Module directly to your web browser
59 stars 10 forks source link

installation error (docker-compose pull) #6

Open bespiloy opened 4 years ago

bespiloy commented 4 years ago

I need help on pulling the pre-compiled images with the command of "docker-compose pull". See below for error messages I encountered:

pi@rpi3114:~/Pi-Camera-in-a-box $ docker-compose pull Traceback (most recent call last): File "/home/pi/.local/bin/docker-compose", line 6, in from compose.cli.main import main File "/home/pi/.local/lib/python2.7/site-packages/compose/cli/main.py", line 18, in import docker.errors File "/home/pi/.local/lib/python2.7/site-packages/docker/init.py", line 2, in from .api import APIClient File "/home/pi/.local/lib/python2.7/site-packages/docker/api/init.py", line 2, in from .client import APIClient File "/home/pi/.local/lib/python2.7/site-packages/docker/api/client.py", line 10, in from .build import BuildApiMixin File "/home/pi/.local/lib/python2.7/site-packages/docker/api/build.py", line 6, in from .. import auth File "/home/pi/.local/lib/python2.7/site-packages/docker/auth.py", line 9, in from .utils import config File "/home/pi/.local/lib/python2.7/site-packages/docker/utils/init.py", line 3, in from .decorators import check_resource, minimum_version, update_headers File "/home/pi/.local/lib/python2.7/site-packages/docker/utils/decorators.py", line 4, in from . import utils File "/home/pi/.local/lib/python2.7/site-packages/docker/utils/utils.py", line 13, in from .. import tls File "/home/pi/.local/lib/python2.7/site-packages/docker/tls.py", line 5, in from .transport import SSLHTTPAdapter File "/home/pi/.local/lib/python2.7/site-packages/docker/transport/init.py", line 3, in from .ssladapter import SSLHTTPAdapter File "/home/pi/.local/lib/python2.7/site-packages/docker/transport/ssladapter.py", line 23, in from backports.ssl_match_hostname import match_hostname ImportError: No module named ssl_match_hostname

Thanks.

RickyMorgan commented 4 years ago

Don't know if you were able to resolve this, but I ran into the same issue today (June 24, 2020) and found what appears to be the resolution by running the command sudo apt-get remove python-configparser as explained on the following web site: https://dev.to/vegasbrianc/comment/i0ka

Hope this helps. Rick