az ml : 'ml' is misspelled or not recognized by the system
See original GitHub issueI’m trying to update a model that was deployed with az ml.
When I run any command starting with az ml
(e.g. az ml -h
) I now get the error:
Error loading command module ‘network’: No module named ‘azure.core.rest’ cannot import name ‘ARMChallengeAuthenticationPolicy’ ‘ml’ is misspelled or not recognized by the system.
Examples from AI knowledge base: az extension add --name anextension Add extension by name
az extension list-available List all publicly available extensions
https://docs.microsoft.com/en-US/cli/azure/extension#az_extension_add
I am using the following versions:
az version
{ “azure-cli”: “2.33.1”, “azure-cli-core”: “2.33.1”, “azure-cli-telemetry”: “1.0.6”, “extensions”: { “ml”: “2.1.2” } }
az extension list
[ { “experimental”: false, “extensionType”: “whl”, “name”: “ml”, “path”: “/opt/az/extensions/ml”, “preview”: true, “version”: “2.1.2” } ]
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (1 by maintainers)
Top GitHub Comments
The error can be resolved by installing the extension using the following command: az extension add -n azure-cli-ml
see this
Is the extension
azure-cli-ml
an alternative toml