Azure / Azure/azure-cli

`az extension add -n ml` stuck on Win arm64

Open
#33,761 4 comments 0 reactions 0 assignees View on GitHub
Auto-Resolve bug customer-reported Machine Learning Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

Unable to install `ml` extension on Win arm64 machine. It just hangs indefinitely.

### Related command

` az extension add -n ml --debug`

### Errors

Stuck indefinitely

### Issue script & Debug output

It is stuck running wheel installation
```
cli.azure.cli.core.extension.operations: Executing pip with args: ['install', '--target', 'C:\\Users\\...\\.azure\\cliextensions\\ml', 'C:\\Users\\...\\AppData\\Local\\Temp\\tmptz_kpu8b\\ml-2.44.1-py3-none-any.whl']
cli.azure.cli.core.extension.operations: Running: ['C:\\Program Files\\Microsoft SDKs\\Azure\\CLI2\\python.exe', '-m', 'pip', 'install', '--target', 'C:\\Users\\...\\.azure\\cliextensions\\ml', 'C:\\Users\\...\\AppData\\Local\\Temp\\tmptz_kpu8b\\ml-2.44.1-py3-none-any.whl', '--disable-pip-version-check', '--no-cache-dir']
```

### Expected behavior

The extension is installed.

### Environment Summary

```
azure-cli 2.79.0 *

core 2.79.0 *
telemetry 1.1.0

Extensions:
amg 2.8.1
resource-graph 2.1.1

Dependencies:
msal 1.34.0b1
azure-mgmt-resource 23.3.0

Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Config directory 'C:\Users\...\.azure'
Extensions directory 'C:\Users\...\.azure\cliextensions'

Python (Windows) 3.13.9 (tags/v3.13.9:8183fa5, Oct 14 2025, 14:09:13) [MSC v.1944 64 bit (AMD64)]
```

### Additional context

I checked similar issues but I failed to find anything related to instalation not progressing past a certain point

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `az extension add -n ml --debug` on a Windows arm64 machine and inspect the reported pip wheel-installation step for the `ml` extension. The payload names no source file or test entry point; done means the extension installs instead of hanging indefinitely.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.