Bryan Dickens
Bryan Dickens

Reputation: 153

Azure command line 'az ml' on Mac not working

I am trying to run any az ml function and am running into this error:

$ az ml -h

az: error: argument _command_package: invalid choice: ml

I do not see any suggestion so far that gets ml to be a supported function for azure-cli. Looking if anyone can help.

Upvotes: 3

Views: 1452

Answers (1)

Shui shengbao
Shui shengbao

Reputation: 19195

You need install Azure Machine Learning Workbench on macOS firstly, please refer to this link.

Install Azure Machine Learning Workbench on your computer running macOS Sierra or later.

Download the latest Azure Machine Learning Workbench installer, AmlWorkbench.dmg.

When you launch Azure ML Workbench and log in for the first time, and if you don't have access to an Experimentation Account already, you are presented with the following screen:

enter image description here

Click on the Command Line Window link in the dialog box to launch the command line window.

Then, you could use az ml -h enter image description here

Note: I test it on Windows, maybe it is different with Mac.

More information please refer to this official document.

Upvotes: 2

Related Questions