mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Update installation.markdown (#7635)
This commit is contained in:
parent
b5d178be48
commit
394585980e
@ -20,7 +20,7 @@ $ pip3 install jupyter matplotlib
|
|||||||
Certain notebooks hosted in the [Home Assistant notebooks repository](https://github.com/home-assistant/home-assistant-notebooks) require access to a running Home Assistant instance or parts of a Home Assistant installation. If you want to run those notebooks, install Home Assistant with `$ pip3 install homeassistant` as well.
|
Certain notebooks hosted in the [Home Assistant notebooks repository](https://github.com/home-assistant/home-assistant-notebooks) require access to a running Home Assistant instance or parts of a Home Assistant installation. If you want to run those notebooks, install Home Assistant with `$ pip3 install homeassistant` as well.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
Now you are able to start the application.
|
Run Jupyter from the command line.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ jupyter notebook
|
$ jupyter notebook
|
||||||
@ -37,7 +37,7 @@ Open [http://localhost:8888/](http://localhost:8888/) in your browser. Press "Ne
|
|||||||
<img src='{{site_root}}/images/screenshots/jupyter-new.png' />
|
<img src='{{site_root}}/images/screenshots/jupyter-new.png' />
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
You will get an empty notebook with one cell. Cells can contain code or text. To get the output of a cell you need to execute them with "Cell" -> "Run Cells" from the menu or by pressing the icon.
|
You will get an empty notebook with one cell. Cells can contain code or text. To get the output of a cell you need to execute them with "Cell" -> "Run Cells" from the menu or by pressing the Play icon.
|
||||||
|
|
||||||
<p class='img'>
|
<p class='img'>
|
||||||
<img src='{{site_root}}/images/screenshots/jupyter-notebook.png' />
|
<img src='{{site_root}}/images/screenshots/jupyter-notebook.png' />
|
||||||
@ -46,6 +46,6 @@ You will get an empty notebook with one cell. Cells can contain code or text. To
|
|||||||
The downloadable version of this notebook is available in the [Home Assistant notebooks repository](https://github.com/home-assistant/home-assistant-notebooks/blob/master/first-notebook.ipynb).
|
The downloadable version of this notebook is available in the [Home Assistant notebooks repository](https://github.com/home-assistant/home-assistant-notebooks/blob/master/first-notebook.ipynb).
|
||||||
|
|
||||||
|
|
||||||
As you can see is the workflow very similar to working directly with a Python shell. One advantage is that you can go back and forth as you please and save your work.
|
As you can see is the Jupyter notebook workflow is very similar to working directly with a Python shell. One advantage of notebooks is that you can go back and forth between cells as you please and save your work.
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user