未验证 提交 18f9df0d 编写于 作者: Z Zhou Wei 提交者: GitHub

fix cache pip error (#29618)

上级 c05170d3
...@@ -120,10 +120,9 @@ rem call paddle_winci\Scripts\activate.bat ...@@ -120,10 +120,9 @@ rem call paddle_winci\Scripts\activate.bat
rem ------pre install python requirement---------- rem ------pre install python requirement----------
where python where python
where pip where pip
pip install --upgrade pip --user
pip install wheel --user pip install wheel --user
pip install -U -r %work_dir%\python\requirements.txt --user pip install -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\unittest_py\requirements.txt --user
if %ERRORLEVEL% NEQ 0 ( if %ERRORLEVEL% NEQ 0 (
echo pip install requirements.txt failed! echo pip install requirements.txt failed!
exit /b 7 exit /b 7
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册