From 18f9df0da4019c1ad71cfeade2f6c5fa938cb9d4 Mon Sep 17 00:00:00 2001 From: Zhou Wei <52485244+zhouwei25@users.noreply.github.com> Date: Tue, 15 Dec 2020 16:35:09 +0800 Subject: [PATCH] fix cache pip error (#29618) --- 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 aee2739b5a..81f614d7b5 100644 --- a/paddle/scripts/paddle_build.bat +++ b/paddle/scripts/paddle_build.bat @@ -120,10 +120,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