Skip to content

Commit

Permalink
fix cache pip error (#29618)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhwesky2010 authored Dec 15, 2020
1 parent c05170d commit 18f9df0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions paddle/scripts/paddle_build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 18f9df0

Please sign in to comment.