From a374335788042e69c57f8d0b1c798285611ba009 Mon Sep 17 00:00:00 2001 From: mo khan Date: Fri, 20 Dec 2019 09:13:23 +0000 Subject: Install the latest pip and setuptools --- run.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'run.sh') diff --git a/run.sh b/run.sh index 404cf2b..6d29f6f 100755 --- a/run.sh +++ b/run.sh @@ -70,14 +70,12 @@ case "$LM_PYTHON_VERSION" in "2"|"2.7") echo "using python $LM_PYTHON_VERSION" LICENSE_FINDER_CLI_OPTS="--python-version 2 $LICENSE_FINDER_CLI_OPTS" - pip --version + pip2 --version ;; "3"|"3.5") echo "switching to python $LM_PYTHON_VERSION" LICENSE_FINDER_CLI_OPTS="--python-version 3 $LICENSE_FINDER_CLI_OPTS" - pip3 install --upgrade --no-index -f "file://$LOCAL_PYPI_INDEX" "pip==$VERSION_OF_PIP" - update-alternatives --install /usr/bin/python python /usr/bin/python3.5 1 pip --version ;; -- cgit v1.2.3