From: Kefu Chai Date: Thu, 12 Dec 2019 04:43:04 +0000 (+0800) Subject: docs: document the fix for incompatible pip-tools with newer pip X-Git-Tag: 1.1.0~182^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8ecea48af5b6d262f12150e7ede6e87191a7233c;p=teuthology.git docs: document the fix for incompatible pip-tools with newer pip Signed-off-by: Kefu Chai --- diff --git a/docs/INSTALL.rst b/docs/INSTALL.rst index 63c9369c6..2af50af8e 100644 --- a/docs/INSTALL.rst +++ b/docs/INSTALL.rst @@ -70,3 +70,16 @@ and should work with teuthology. But if you want to bump up the versions of them please use the following command to update this file :: pip-compile -qo- | sed '/^-e / d' > requirements.txt + +Please upgrade pip-tool using following command :: + + pip install pip-tools --upgrade + +if the command above fails like:: + + Traceback (most recent call last): + File "/home/kchai/teuthology/virtualenv/bin/pip-compile", line 5, in + from piptools.scripts.compile import cli + File "/home/kchai/teuthology/virtualenv/local/lib/python2.7/site-packages/piptools/scripts/compile.py", line 11, in + from pip.req import InstallRequirement, parse_requirements + ImportError: No module named req