From: A. Unique TensorFlower Date: Wed, 9 May 2018 21:14:48 +0000 (-0700) Subject: Use easy_install for pip installation for RBE images. X-Git-Tag: upstream/v1.9.0_rc1~116^2^2~185 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d5000cd97f0d0152c28512ff5ea7b3daa67d8e56;p=platform%2Fupstream%2Ftensorflow.git 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 --- 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`