Skip to content

Command does not work #32013

@zilvakas

Description

@zilvakas

Describe the bug

I tried to install azure-devops extension usin AZ CLI, but got an error that "file not found".

  • I tried to do that with Python outside of Azure CLI and succeeded.
  • I tried to do that with embeded Azure CLI Python and got an error:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    DevOpsPossible-SolutionService AttentionThis issue is responsible by Azure service team.Similar-Issueact-platform-engineering-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions