From 0e316138a1aeac8b9d6fbed7de0519b48a876bf2 Mon Sep 17 00:00:00 2001 From: Mike Harder Date: Fri, 20 May 2022 18:43:33 -0700 Subject: [PATCH] Prevent error updating pip --- eng/pipelines/templates/steps/analyze_dependency.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/pipelines/templates/steps/analyze_dependency.yml b/eng/pipelines/templates/steps/analyze_dependency.yml index 4dc6993385c7..8aeeab8ea130 100644 --- a/eng/pipelines/templates/steps/analyze_dependency.yml +++ b/eng/pipelines/templates/steps/analyze_dependency.yml @@ -9,7 +9,7 @@ steps: versionSpec: '$(PythonVersion)' - pwsh: | - pip install -r eng/ci_tools.txt $(if($IsWindows) {"--user" }) + python -m pip install -r eng/ci_tools.txt $(if($IsWindows) {"--user" }) displayName: 'Install Python Tools' condition: succeededOrFailed()