Skip to content

Commit

Permalink
Fixed setuptools==57.4.0 (#55604)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuxinyi389 committed Jul 21, 2023
1 parent 170e64f commit 4f9404a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions paddle/scripts/paddle_build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,12 @@ if %ERRORLEVEL% NEQ 0 (
if "%WITH_PYTHON%" == "ON" (
where python
where pip
pip install wheel
pip install pyyaml
pip install wget
pip install -r %work_dir%\python\requirements.txt
python -m pip install --upgrade pip
python -m pip install setuptools==57.4.0
python -m pip install wheel
python -m pip install pyyaml
python -m pip install wget
python -m pip install -r %work_dir%\python\requirements.txt
if !ERRORLEVEL! NEQ 0 (
echo pip install requirements.txt failed!
exit /b 5
Expand Down

0 comments on commit 4f9404a

Please sign in to comment.