Created
March 19, 2015 21:00
-
-
Save danehans/b60824f808a6e635f11e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@kolla-node1 fig]# sudo pip install -e . | |
Obtaining file:///root/fig | |
Running setup.py (path:/root/fig/setup.py) egg_info for package from file:///root/fig | |
warning: no previously-included files matching '*.pyc' found anywhere in distribution | |
warning: no previously-included files matching '*.pyo' found anywhere in distribution | |
warning: no previously-included files matching '*.un~' found anywhere in distribution | |
Requirement already satisfied (use --upgrade to upgrade): docopt>=0.6.1,<0.7 in /usr/lib/python2.7/site-packages (from docker-compose==1.1.0) | |
Requirement already satisfied (use --upgrade to upgrade): PyYAML>=3.10,<4 in /usr/lib64/python2.7/site-packages (from docker-compose==1.1.0) | |
Downloading/unpacking requests>=2.5.0,<2.6 (from docker-compose==1.1.0) | |
Downloading requests-2.5.3-py2.py3-none-any.whl (468kB): 468kB downloaded | |
Requirement already satisfied (use --upgrade to upgrade): texttable>=0.8.1,<0.9 in /usr/lib/python2.7/site-packages (from docker-compose==1.1.0) | |
Requirement already satisfied (use --upgrade to upgrade): websocket-client>=0.11.0,<1.0 in /usr/lib/python2.7/site-packages (from docker-compose==1.1.0) | |
Requirement already satisfied (use --upgrade to upgrade): docker-py>=1.1.0,<1.2 in /usr/lib/python2.7/site-packages (from docker-compose==1.1.0) | |
Requirement already satisfied (use --upgrade to upgrade): dockerpty>=0.3.2,<0.4 in /usr/lib/python2.7/site-packages (from docker-compose==1.1.0) | |
Requirement already satisfied (use --upgrade to upgrade): six>=1.3.0,<2 in /usr/lib/python2.7/site-packages (from docker-compose==1.1.0) | |
Requirement already satisfied (use --upgrade to upgrade): backports.ssl-match-hostname in /usr/lib/python2.7/site-packages (from websocket-client>=0.11.0,<1.0->docker-compose==1.1.0) | |
Installing collected packages: requests, docker-compose | |
Found existing installation: requests 2.6.0 | |
Uninstalling requests: | |
Successfully uninstalled requests | |
Running setup.py develop for docker-compose | |
warning: no previously-included files matching '*.pyc' found anywhere in distribution | |
warning: no previously-included files matching '*.pyo' found anywhere in distribution | |
warning: no previously-included files matching '*.un~' found anywhere in distribution | |
Creating /usr/lib/python2.7/site-packages/docker-compose.egg-link (link to .) | |
docker-compose 1.1.0 is already the active version in easy-install.pth | |
Installing docker-compose script to /usr/bin | |
Installed /root/fig | |
Successfully installed requests docker-compose | |
Cleaning up... | |
[root@kolla-node1 fig]# dokcer-compose --help | |
-bash: dokcer-compose: command not found | |
[root@kolla-node1 fig]# docker-compose | |
Traceback (most recent call last): | |
File "/bin/docker-compose", line 9, in <module> | |
load_entry_point('docker-compose==1.1.0', 'console_scripts', 'docker-compose')() | |
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 348, in load_entry_point | |
return get_distribution(dist).load_entry_point(group, name) | |
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2311, in load_entry_point | |
return ep.load() | |
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2025, in load | |
entry = __import__(self.module_name, globals(),globals(), ['__name__']) | |
File "/root/fig/compose/__init__.py", line 2, in <module> | |
from .service import Service # noqa:flake8 | |
File "/root/fig/compose/service.py", line 10, in <module> | |
from docker.errors import APIError | |
File "/usr/lib/python2.7/site-packages/docker/__init__.py", line 20, in <module> | |
from .client import Client, AutoVersionClient # flake8: noqa | |
File "/usr/lib/python2.7/site-packages/docker/client.py", line 35, in <module> | |
import websocket | |
File "/usr/lib/python2.7/site-packages/websocket/__init__.py", line 22, in <module> | |
from ._core import * | |
File "/usr/lib/python2.7/site-packages/websocket/_core.py", line 44, in <module> | |
from six.moves.urllib.parse import urlparse | |
ImportError: No module named urllib.parse | |
[root@kolla-node1 fig]# dokcer-compose --help^C | |
[root@kolla-node1 fig]# pip install -U docker-py | |
Requirement already up-to-date: docker-py in /usr/lib/python2.7/site-packages | |
Downloading/unpacking requests>=2.5.2 from https://pypi.python.org/packages/py2.py3/r/requests/requests-2.6.0-py2.py3-none-any.whl#md5=3ab1972bbaf2802d94516fb86b9b0d0b (from docker-py) | |
Downloading requests-2.6.0-py2.py3-none-any.whl (469kB): 469kB downloaded | |
Requirement already up-to-date: six>=1.3.0 in /usr/lib/python2.7/site-packages (from docker-py) | |
Requirement already up-to-date: websocket-client>=0.11.0 in /usr/lib/python2.7/site-packages (from docker-py) | |
Requirement already up-to-date: backports.ssl-match-hostname in /usr/lib/python2.7/site-packages (from websocket-client>=0.11.0->docker-py) | |
Installing collected packages: requests | |
Found existing installation: requests 2.5.3 | |
Uninstalling requests: | |
Successfully uninstalled requests | |
Successfully installed requests | |
Cleaning up... | |
[root@kolla-node1 fig]# docker-compose --help | |
Traceback (most recent call last): | |
File "/bin/docker-compose", line 5, in <module> | |
from pkg_resources import load_entry_point | |
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2713, in <module> | |
parse_requirements(__requires__), Environment() | |
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 567, in resolve | |
raise DistributionNotFound(req) | |
pkg_resources.DistributionNotFound: docker-py>=0.6.0,<0.8 | |
[root@kolla-node1 fig]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment