Update PIP_BIN_PATH to work with all py versions.

PiperOrigin-RevId: 301407013
Change-Id: I86e22da7e18e5c5e0f58d89b1cffaf65d422cef1
This commit is contained in:
A. Unique TensorFlower 2020-03-17 10:49:44 -07:00 committed by TensorFlower Gardener
parent fd1eef6965
commit 73278044ba

View File

@ -431,7 +431,7 @@ install_tensorflow_pip() {
fi
# Set path to pip.
PIP_BIN_PATH="$(which pip${PY_MAJOR_MINOR_VER})"
PIP_BIN_PATH="${PYTHON_BIN_PATH} -m pip"
# Print python and pip bin paths
echo "PYTHON_BIN_PATH to be used to install the .whl: ${PYTHON_BIN_PATH}"