Repository navigation
Command does not work #32013
Description
Activity
- addedbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.
on Aug 27, 2025 Thank you for opening this issue, we will look into it.
Here are some similar issues that might help you. Please check if they can solve your problem.
- FileNotFoundError: [WinError 2] The system cannot find the file specified cli.azure.cli.core.extension.operations: Command '['C:\\Program Files\\Microsoft SDKs\\Azure\\CLI2\\python.exe', '-m', 'pip', 'install', '--target', 'C:\\Users\\<username>\\.azure\\cliextensions\\azure-devops', 'C:\\Users\\<USER>~1\\AppData\\Local\\Temp\\tmp1za2fguz\\azure_devops-1.0.1-py2.py3-none-any.whl', '-vv', '--disable-pip-version-check', '--no-cache-dir']' returned non-zero exit status 1. #29981
- Issue with installing Azure CLI #29930
Possible solution (Extracted from existing issue, might be incorrect; please verify carefully)
Solution 1:
What worked for me was to uninstall python, I ran the command
az extension add -n azure-devopsagain and it installed. I understand that it may conflict because internally the application has a python that apparently is not compatible between versions. I hope this solution helps you.Reference:
Solution 2:
Duplicate of #29630. Workaround: #29630 (comment)
Reference:
Powered by issue-sentinel
- addedcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
on Aug 27, 2025 - addedService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.
on Aug 27, 2025 microsoft-github-policy-service commented
on Aug 27, 2025 ContributorMore actionsThanks for the feedback! We are routing this to the appropriate team for follow-up. cc v-anvashist, V-hmusukula.
Hi zilvakas, thanks for reporting this!
Before we can investigate, could you please clarify a few things:
-
Correct command: The supported way to install the Azure DevOps extension is via
az extension add --name azure-devops(not by callingpipdirectly inside the CLI installation). Did you try that command, and did it also fail with the same error? -
Repro steps: Please share the exact
azcommand you ran (if any) and the full error output. -
CLI version: Your report shows version 2.76.0, which is quite old. Please share the output of
az versionwith the latest CLI to see if this has already been fixed. You can get the latest version from https://aka.ms/installazurecli. -
OS details: Windows version and whether you installed via MSI, winget, or another method.
I'll pick this up automatically once you reply.
Posted by agent-assist (autonomous bug-fix pipeline).
-
Describe the bug
I tried to install azure-devops extension usin AZ CLI, but got an error that "file not found".
C:\Program Files\Microsoft SDKs\Azure\CLI2\Scripts>pip install azure-devops
Fatal error in launcher: Unable to create process using '"D:\a_work\1\s\build_scripts\windows\artifacts\Python\python.exe" "C:\Program Files\Microsoft SDKs\Azure\CLI2\Scripts\pip.exe" install azure-devops': The system cannot find the file specified.
It seems that this is packaging error.
Related command
C:\Program Files\Microsoft SDKs\Azure\CLI2\Scripts>pip install azure-devops
Important: this is INTERNAL AZ CLI command, not external Python.
Errors
Fatal error in launcher: Unable to create process using '"D:\a_work\1\s\build_scripts\windows\artifacts\Python\python.exe" "C:\Program Files\Microsoft SDKs\Azure\CLI2\Scripts\pip.exe" install azure-devops': The system cannot find the file specified.
Issue script & Debug output
C:\Program Files\Microsoft SDKs\Azure\CLI2\Scripts>pip install azure-devops
Fatal error in launcher: Unable to create process using '"D:\a_work\1\s\build_scripts\windows\artifacts\Python\python.exe" "C:\Program Files\Microsoft SDKs\Azure\CLI2\Scripts\pip.exe" install azure-devops': The system cannot find the file specified.
Expected behavior
No error..
Environment Summary
az version
{
"azure-cli": "2.76.0",
"azure-cli-core": "2.76.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {}
}
Additional context
No response