Can't install Azure CLI ML extension - Failed to delete 'C:\Users\xxx\.azure\cliextensions\ml': [WinError 3] The system cannot find the path specified: 'C:\\Users\\xxx\\.azure\\cliextensions\\ml'.
See original GitHub issueDescribe the bug
I can successfully install the Azure CLI ML extension v1 via az extension add --name azure-cli-ml
.
If I try the same (and azure-cli-ml
is not installed) for az extension add --name ml
I get Failed to delete 'C:\Users\xxx\.azure\cliextensions\ml': [WinError 3] The system cannot find the path specified: 'C:\\Users\\xxx\\.azure\\cliextensions\\ml'
To Reproduce
Install ML extension via az extension add --name ml
Expected behavior The extension is being installed.
Environment summary Windows 11 Python: 3.10.4 Azure CLI: 2.35.0
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:9 (5 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Note that Python 3.9+ is not supported for any of the existing v2 CLI releases, so this installation failure is expected behavior.
You can get a working installation by creating a Python 3.6, 3.7 or 3.8 environment and installing inside there.
@RakeshMohanMSFT I uninstalled Python 3.10. und installed 3.8. and can now successfully install the ml extension. Not sure whether this is because of the downgrade of the version or something of the ml extension has been updated.