Reverting changes from 495d511 that break install_pip_packages.sh in Ubuntu 16.04...
authorClayne Robison <clayne.b.robison@intel.com>
Wed, 2 May 2018 13:47:58 +0000 (06:47 -0700)
committerShanqing Cai <cais@google.com>
Wed, 2 May 2018 13:47:58 +0000 (09:47 -0400)
tensorflow/tools/ci_build/install/install_pip_packages.sh

index 5aaf544..982161c 100755 (executable)
 set -e
 
 # We don't apt-get install so that we can install a newer version of pip.
-# Only needed for Ubuntu 14.04 ,and not needed for Ubuntu 16.04 / Debian 8,9
-if $(cat /etc/*-release | grep -q 14.04); then
-  easy_install -U pip==9.0.3
-  easy_install3 -U pip==9.0.3
-else
-  pip2 install --upgrade pip==9.0.3
-  pip3 install --upgrade pip==9.0.3
-fi
+# Only needed for Ubuntu 14.04 and 16.04; not needed for 18.04 and Debian 8,9?
+easy_install -U pip==9.0.3
+easy_install3 -U pip==9.0.3
 
 # Install pip packages from whl files to avoid the time-consuming process of
 # building from source.