Traceback (most recent call last):
File "/usr/local/bin/docker-compose", line 7, in <module>
from compose.cli.main import main
File "/usr/local/lib/python2.7/dist-packages/compose/cli/main.py", line 17, in <module>
from . import errors
File "/usr/local/lib/python2.7/dist-packages/compose/cli/errors.py", line 11, in <module>
from docker.errors import APIError
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 11, in <module>
from .build import BuildApiMixin
File "/usr/local/lib/python2.7/dist-packages/docker/api/build.py", line 9, in <module>
from .. import utils
File "/usr/local/lib/python2.7/dist-packages/docker/utils/__init__.py", line 2, in <module>
from .build import tar, exclude_paths
File "/usr/local/lib/python2.7/dist-packages/docker/utils/build.py", line 5, in <module>
from .utils import create_archive
File "/usr/local/lib/python2.7/dist-packages/docker/utils/utils.py", line 18, in <module>
from .. import tls
File "/usr/local/lib/python2.7/dist-packages/docker/tls.py", line 5, in <module>
from .transport import SSLAdapter
File "/usr/local/lib/python2.7/dist-packages/docker/transport/__init__.py", line 3, in <module>
from .ssladapter import SSLAdapter
File "/usr/local/lib/python2.7/dist-packages/docker/transport/ssladapter.py", line 21, in <module>
from backports.ssl_match_hostname import match_hostname
ImportError: No module named ssl_match_hostname
ERROR: Problem encountered. Could not start Flytsim session
root@james-ubuntu:~/FlytSim/flytsim-docker-0.1.5/linux/intelgraphics#
Problem not solved but likely identified. There is no kinetic binary for Ubuntu 17.04 (although I do have lunar installed, along with gazebo).
james@james-ubuntu:~/FlytSim/flytsim-docker-0.1.5/linux/intelgraphics$ sudo ./setup.sh
This script is going to install docker-ce and docker-compose on your machine
Verifying if this machine's architecture complies to this setup requirement or not
Verifying if this machine runs a flavor of Ubuntu or not
Un-installing older docker versions, if installed.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'docker-engine' is not installed, so not removed
Package 'docker' is not installed, so not removed
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Name: docker
Version: 2.4.2
Summary: A Python library for the Docker Engine API.
Home-page: https://github.com/docker/docker-py
Author: Joffrey F
Author-email: joffrey@docker.com
License: UNKNOWN
Location: /usr/local/lib/python2.7/dist-packages
Requires: requests, backports.ssl-match-hostname, ipaddress, docker-pycreds, websocket-client, six
Uninstalling docker-2.4.2:
Successfully uninstalled docker-2.4.2
Installing docker installation dependencies
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt-transport-https is already the newest version (1.4).
ca-certificates is already the newest version (20161130).
software-properties-common is already the newest version (0.96.24.13).
curl is already the newest version (7.52.1-4ubuntu1.1).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
OK
Installing docker-ce
Reading package lists... Done
Building dependency tree
Reading state information... Done
docker-ce is already the newest version (17.06.0~ce-0~ubuntu).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Congratulations! docker-ce installation is successful
Installing docker-compose
Requirement already up-to-date: docker-compose in /usr/local/lib/python2.7/dist-packages
Collecting docker<3.0,>=2.4.2 (from docker-compose)
Using cached docker-2.4.2-py2.py3-none-any.whl
Requirement already up-to-date: colorama<0.4,>=0.3.7 in /usr/local/lib/python2.7/dist-packages (from docker-compose)
Requirement already up-to-date: PyYAML<4,>=3.10 in /usr/lib/python2.7/dist-packages (from docker-compose)
Requirement already up-to-date: requests!=2.11.0,<2.12,>=2.6.1 in /usr/local/lib/python2.7/dist-packages (from docker-compose)
Requirement already up-to-date: ipaddress>=1.0.16; python_version < "3.3" in /usr/local/lib/python2.7/dist-packages (from docker-compose)
Requirement already up-to-date: docopt<0.7,>=0.6.1 in /usr/local/lib/python2.7/dist-packages (from docker-compose)
Requirement already up-to-date: six<2,>=1.3.0 in /usr/local/lib/python2.7/dist-packages (from docker-compose)
Requirement already up-to-date: websocket-client<1.0,>=0.32.0 in /usr/local/lib/python2.7/dist-packages (from docker-compose)
Requirement already up-to-date: backports.ssl-match-hostname>=3.5; python_version < "3.5" in /usr/local/lib/python2.7/dist-packages (from docker-compose)
Requirement already up-to-date: jsonschema<3,>=2.5.1 in /usr/local/lib/python2.7/dist-packages (from docker-compose)
Requirement already up-to-date: dockerpty<0.5,>=0.4.1 in /usr/local/lib/python2.7/dist-packages (from docker-compose)
Requirement already up-to-date: texttable<0.9,>=0.8.1 in /usr/local/lib/python2.7/dist-packages (from docker-compose)
Requirement already up-to-date: enum34<2,>=1.0.4; python_version < "3.4" in /usr/lib/python2.7/dist-packages (from docker-compose)
Requirement already up-to-date: cached-property<2,>=1.2.0 in /usr/local/lib/python2.7/dist-packages (from docker-compose)
Requirement already up-to-date: docker-pycreds>=0.2.1 in /usr/local/lib/python2.7/dist-packages (from docker<3.0,>=2.4.2->docker-compose)
Requirement already up-to-date: functools32; python_version == "2.7" in /usr/lib/python2.7/dist-packages (from jsonschema<3,>=2.5.1->docker-compose)
Installing collected packages: docker
Successfully installed docker-2.4.2
Congratulations! docker-compose installation is successful
Setup is now complete. Run sudo ./start.sh to sta
-
uname -m` > /usr/local/bin/docker-compose