File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
tensorflow/tools/ci_build/builds Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -315,14 +315,17 @@ create_activate_virtualenv_and_install_tensorflow() {
315
315
# Upgrade pip so it supports tags such as cp27mu, manylinux1 etc.
316
316
echo " Upgrade pip in virtualenv"
317
317
pip install --upgrade pip==9.0.1
318
- pip install --upgrade setuptools==39.1.0
319
318
320
319
# Force tensorflow reinstallation. Otherwise it may not get installed from
321
320
# last build if it had the same version number as previous build.
322
321
PIP_FLAGS=" --upgrade --force-reinstall"
323
322
pip install -v ${PIP_FLAGS} ${WHL_PATH} || \
324
323
die " pip install (forcing to reinstall tensorflow) FAILED"
325
324
echo " Successfully installed pip package ${TF_WHEEL_PATH} "
325
+
326
+ # Force downgrade setuptools.
327
+ pip install --upgrade setuptools==39.1.0
328
+
326
329
}
327
330
328
331
# ###############################################################################
You can’t perform that action at this time.
0 commit comments