-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
az ml : 'ml' is misspelled or not recognized by the system #21390
Comments
route to CXP team |
This seems like an issue with the dependency of azure-core in azure-cli that does not contains azure.core.rest. azure.core.rest is the new public simple HTTP library in azure.core introduced in azure-core 1.20.0 |
Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you! |
Upgrading the Az CLI fixed this issue. PS C:\Users\user> az --version
azure-cli 2.37.0
core 2.37.0
telemetry 1.0.6
Extensions:
azure-devops 0.18.0
ml 2.5.0
Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\user\.azure\cliextensions'
Python (Windows) 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 22:57:10) [MSC v.1929 32 bit (Intel)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Please let us know how we are doing: https://aka.ms/azureclihats
and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy
PS C:\Users\user> az ml -h
Group
az ml : Manage Azure Machine Learning resources with the Azure CLI ML extension v2.
Install Azure CLI ML extension v2
https://docs.microsoft.com/azure/machine-learning/how-to-configure-cli.
Subgroups:
batch-deployment : Manage Azure ML batch deployments.
batch-endpoint : Manage Azure ML batch endpoints.
component : Manage Azure ML components.
compute : Manage Azure ML compute resources.
connection [Preview] : Manage Azure ML workspace connection.
data : Manage Azure ML data assets.
dataset [Deprecated] [Preview] : Manage Azure ML dataset assets.
datastore : Manage Azure ML datastores.
environment : Manage Azure ML environments.
job : Manage Azure ML jobs.
model : Manage Azure ML models.
online-deployment : Manage Azure ML online deployments.
online-endpoint : Manage Azure ML online endpoints.
workspace : Manage Azure ML workspaces.
To search AI knowledge base for examples, use: az find "az ml"
Please let us know how we are doing: https://aka.ms/azureclihats
PS C:\Users\user> |
The error can be resolved by installing the extension using the following command: |
I had a similar issue and had to switch python to a higher version via And finally check with: |
Is the extension
|
For Linux users, you can use blow command to install
|
still same issue. in the end I used az 2.55.0, remove ml v1 and ml v2: |
It is not working for me.
|
Encountering similar issue.
After extension add and listing the extension it states
But when running
Logs show
Any idea what is going on here? |
I have the same error. When I use: az extension add --name ml Error: An error occurred. Pip failed with status code 1. Use --debug for more information. az version 2.59.0 Can't remove it or anything. |
I'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:I am using the following versions:
az version
az extension list
The text was updated successfully, but these errors were encountered: