diff --git a/utils/build.ps1 b/utils/build.ps1 index 1f9e5eb7687c4..9cf1b37708ba1 100644 --- a/utils/build.ps1 +++ b/utils/build.ps1 @@ -1307,7 +1307,7 @@ function Get-Dependencies { $GetPipURL = "https://bootstrap.pypa.io/get-pip.py" $GetPipPath = "$BinaryCache/$FileName/get-pip.py" $WebClient.DownloadFile($GetPipURL, $GetPipPath) - & "$BinaryCache/$FileName/python.exe" $GetPipPath + Invoke-Program -Silent "$(Get-PythonExecutable)" $GetPipPath } function Install-PIPIfNeeded {