Skip to content

Commit 6c6aa0e

Browse files
committed
move section
1 parent b9c0364 commit 6c6aa0e

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

articles/machine-learning/how-to-run-jupyter-notebooks.md

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,23 @@ These actions will reset the notebook state as well as all variables in the note
137137
| Stop compute | No cells will run |
138138
| Open notebook in Jupyter or JupyterLab | Notebook opened in a new tab. |
139139

140+
### Add new kernels
141+
142+
The Notebook will automatically find all Jupyter kernels installed on the connected compute instance. To add a kernel to the compute instance:
143+
144+
1. Select **Terminal** in the Notebook toolbar.
145+
1. Use the terminal window to create a new environment.
146+
1. Activate the environment. For example, after creating `newenv`:
147+
148+
```shell
149+
source activate newenv
150+
python -m ipykernel install --user --name newenv --display-name "Python (newenv)"
151+
```
152+
153+
Any of the [available Jupyter Kernels](https://github.com/jupyter/jupyter/wiki/Jupyter-kernels) can be installed.
154+
155+
### Status indicators
156+
140157
A dot next to the **Compute** dropdown shows its status. The status is also shown in the dropdown itself.
141158

142159
|Color |Compute status |
@@ -154,21 +171,7 @@ A dot next to the **Kernel** dropdown shows its status.
154171
| Green |Kernel connected, idle, busy|
155172
| Gray |Kernel not connected |
156173

157-
### Add new kernels
158-
159-
The Notebook will automatically find all Jupyter kernels installed on the connected compute instance. To add a kernel to the compute instance:
160-
161-
1. Select **Terminal** in the Notebook toolbar.
162-
1. Use the terminal window.
163-
1. Create a new environment.
164-
1. Activate the environment. For example, after creating `newenv`:
165174

166-
```shell
167-
source activate newenv
168-
python -m ipykernel install --user --name newenv --display-name "Python (newenv)"
169-
```
170-
171-
Any of the [available Jupyter Kernels](https://github.com/jupyter/jupyter/wiki/Jupyter-kernels) can be installed.
172175

173176
## Find compute details
174177

0 commit comments

Comments
 (0)