From f791438fd256e871d79420dc62415b5d9c94c486 Mon Sep 17 00:00:00 2001 From: Zhou Wei <52485244+zhouwei25@users.noreply.github.com> Date: Thu, 17 Dec 2020 16:14:10 +0800 Subject: [PATCH] [cherry-pick][bug fix] fix cache pip error (#29624) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cherry-pick #29618,Fix pip take a long time and failed on windows CI. --- paddle/scripts/paddle_build.bat | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/paddle/scripts/paddle_build.bat b/paddle/scripts/paddle_build.bat index f61374ca48..f3cc61e8fb 100644 --- a/paddle/scripts/paddle_build.bat +++ b/paddle/scripts/paddle_build.bat @@ -113,10 +113,9 @@ rem call paddle_winci\Scripts\activate.bat rem ------pre install python requirement---------- where python where pip -pip install --upgrade pip --user pip install wheel --user -pip install -U -r %work_dir%\python\requirements.txt --user -pip install -U -r %work_dir%\python\unittest_py\requirements.txt --user +pip install -r %work_dir%\python\requirements.txt --user +pip install -r %work_dir%\python\unittest_py\requirements.txt --user if %ERRORLEVEL% NEQ 0 ( echo pip install requirements.txt failed! exit /b 7 -- GitLab