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

[cherry-pick][bug fix] fix cache pip error (#29624)

cherry-pick #29618,Fix pip take a long time and failed on windows CI.
上级 e82efc0c
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册