We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following error occurs:
TASK: [anarcher.docker-registry | Add docker-py python module (for ansible)] *** failed: [zdockreg] => {"cmd": "/usr/bin/pip install docker-py", "failed": true} msg: :stderr: Traceback (most recent call last): File "/usr/bin/pip", line 9, in <module> load_entry_point('pip==1.5.4', 'console_scripts', 'pip')() File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 351, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2363, in load_entry_point return ep.load() File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2088, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 11, in <module> from pip.vcs import git, mercurial, subversion, bazaar # noqa File "/usr/lib/python2.7/dist-packages/pip/vcs/mercurial.py", line 9, in <module> from pip.download import path_to_url File "/usr/lib/python2.7/dist-packages/pip/download.py", line 25, in <module> from requests.compat import IncompleteRead ImportError: cannot import name IncompleteRead
To fix, add this in install_docker_debian.yml:
- name: Add python-pip package (for ansible) apt: pkg=python-pip state=present # New task: - name: Make sure pip upgraded command: easy_install -U pip
(I supposed installing with easy_install is an option too, but this seems to work)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following error occurs:
To fix, add this in install_docker_debian.yml:
(I supposed installing with easy_install is an option too, but this seems to work)
The text was updated successfully, but these errors were encountered: