From d5000cd97f0d0152c28512ff5ea7b3daa67d8e56 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Wed, 9 May 2018 14:14:48 -0700 Subject: [PATCH] Use easy_install for pip installation for RBE images. We will remove python-pip deb packages from rbe-{debian8, ubuntu16_04}: https://github.com/bazelbuild/bazel-toolchains/pull/46 So that we don't we have pip install by deb packages and Python's own package system (and they conflict with each other) We only install pip by easy_install. PiperOrigin-RevId: 196027421 --- tensorflow/tools/ci_build/install/install_pip_packages_remote.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tensorflow/tools/ci_build/install/install_pip_packages_remote.sh b/tensorflow/tools/ci_build/install/install_pip_packages_remote.sh index 0beabcf..721590f 100755 --- a/tensorflow/tools/ci_build/install/install_pip_packages_remote.sh +++ b/tensorflow/tools/ci_build/install/install_pip_packages_remote.sh @@ -20,8 +20,8 @@ if [ ! -f /usr/bin/x86_64-linux-gnu-gcc ]; then ln -s /usr/local/bin/clang /usr/bin/x86_64-linux-gnu-gcc fi -pip2 install --upgrade setuptools -pip3 install --upgrade setuptools +easy_install -U pip==9.0.3 +easy_install3 -U pip==9.0.3 # The rest of the pip packages will be installed in # `install_pip_packages.sh` -- 2.7.4