You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run
pip3 install --upgrade --no-index /tmp/docker-py-2.5.1.tar.gz
I get the following issue
Defaulting to user installation because normal site-packages is not writeable
Processing /tmp/docker-py-2.5.1.tar.gz
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-e1wftyj8/setup.py'"'"'; file='"'"'/tmp/pip-req-build-e1wftyj8/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-blt8jpfq
cwd: /tmp/pip-req-build-e1wftyj8/
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-req-build-e1wftyj8/setup.py", line 12, in
if 'docker-py' in [x.project_name for x in pip.get_installed_distributions()]:
AttributeError: module 'pip' has no attribute 'get_installed_distributions'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
The text was updated successfully, but these errors were encountered:
Yes, v2.5.1 is very old. I'd recommend using one of the 6.0.0 betas, which should resolve a lot of issues, particularly around install: pip install docker==6.0.0b2 (find latest on PyPI or GitHub releases)
When I run
pip3 install --upgrade --no-index /tmp/docker-py-2.5.1.tar.gz
I get the following issue
Defaulting to user installation because normal site-packages is not writeable
Processing /tmp/docker-py-2.5.1.tar.gz
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-e1wftyj8/setup.py'"'"'; file='"'"'/tmp/pip-req-build-e1wftyj8/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-blt8jpfq
cwd: /tmp/pip-req-build-e1wftyj8/
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-req-build-e1wftyj8/setup.py", line 12, in
if 'docker-py' in [x.project_name for x in pip.get_installed_distributions()]:
AttributeError: module 'pip' has no attribute 'get_installed_distributions'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
The text was updated successfully, but these errors were encountered: