Skip to content

Commit f9e3a60

Browse files
authored
Merge pull request #46695 from michhar/patch-4
Note for az ml cli in Jupyter on Linux DSVM
2 parents 33232dc + 251a584 commit f9e3a60

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

articles/machine-learning/desktop-workbench/deployment-setup-configuration.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@ On a Data Science Virtual Machine, connect and open the command prompt. Type `az
3131

3232
On all other systems, you would have to install the CLIs.
3333

34+
>[!NOTE]
35+
> In a Jupyter notebook on a Linux DSVM, you can access the Azure CLI and Azure ML CLI with the command format below. **This is for a Jupyter notebook on a Linux DSVM, specifically**. These commands access the current Python kernel in the notebook (e.g. the conda `py35` environment)
36+
>```
37+
>import sys
38+
>! {sys.executable} -m azure.cli login
39+
>! {sys.executable} -m azure.cli ml -h
40+
>```
41+
3442
### Installing (or updating) on Windows
3543
3644
Install Python from https://www.python.org/. Ensure that you have selected to install pip.

0 commit comments

Comments
 (0)