Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cherry-pick 2.5] Fixed setuptools==57.4.0 on windows #55604

Merged
merged 1 commit into from
Jul 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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