Traceback (most recent call last):


 "/usr/bin/pip3", line 9, in <module>

from pip import main
ImportError: cannot import name 'main'

Traceback (most recent call last):


 "/usr/bin/docker-compose", line 9, in <module>

load_entry_point('docker-compose==1.1.0', 'console_scripts', 'docker-compose')()


 "/usr/lib/python2.7/site-packages/pkg_resources.py", line 348, in load_entry_point

return get_distribution(dist).load_entry_point(group, name)


 "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2311, in load_entry_point

return ep.load()


 "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2025, in load

entry = __import__(self.module_name, globals(),globals(), ['__name__'])


 "/usr/lib/python2.7/site-packages/compose/__init__.py", line 2, in <module>

from .service import Service
# noqa:flake8


 "/usr/lib/python2.7/site-packages/compose/service.py", line 10, in <module>

from docker.errors import APIError


 "/usr/lib/python2.7/site-packages/docker/__init__.py", line 20, in <module>

from .client import Client # flake8: noqa


 "/usr/lib/python2.7/site-packages/docker/client.py", line 34, in <module>

import websocket


 "/usr/lib/python2.7/site-packages/websocket/__init__.py", line 22, in <module>

from ._core import *


 "/usr/lib/python2.7/site-packages/websocket/_core.py", line 41, in <module>

from ._url import *


 "/usr/lib/python2.7/site-packages/websocket/_url.py", line 23, in <module>

from six.moves.urllib.parse import urlparse
ImportError: No module named urllib.parse
