diff --git a/tools/internal_ci/helper_scripts/install_python_interpreters.ps1 b/tools/internal_ci/helper_scripts/install_python_interpreters.ps1 index 387a9dfb6bd..9885adc34e1 100644 --- a/tools/internal_ci/helper_scripts/install_python_interpreters.ps1 +++ b/tools/internal_ci/helper_scripts/install_python_interpreters.ps1 @@ -35,7 +35,7 @@ function Install-Python { Write-Host "Python installer $PythonInstallerPath validated." # Installs Python - & $PythonInstallerPath /quiet InstallAllUsers=1 PrependPath=1 Include_test=0 TargetDir=$PythonInstallPath + & $PythonInstallerPath /passive InstallAllUsers=1 PrependPath=1 Include_test=0 TargetDir=$PythonInstallPath if (-Not $?) { throw "The Python installation exited with error!" } @@ -50,9 +50,6 @@ function Install-Python { Wait-Process -Name $PythonInstaller -Timeout 300 Write-Host "Installation process exits normally." - ls "C:\" - ls "$PythonInstallPath" - ls "$PythonInstallPath\python.exe" # Validate Python binary $PythonBinary = "$PythonInstallPath\python.exe" & $PythonBinary -c 'print(42)'