> For the complete documentation index, see [llms.txt](https://docs.consoleflare.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.consoleflare.com/live-data-streaming/master/jupyter-notebook-setup.md).

# Jupyter Notebook Setup

After completing the Spark installation in order to set jupyter notebook as the default editor we need to the following steps:

### Step 1 (install jupyter notebook)

Open CMD and use the following command to install jupyter notebook

```bash
pip install jupyter
```

### Step 2 (set environment variables)

create the following environment variables:

**PYSPARK\_PYTHON** = {path of your python.exe}

![](/files/3M0c3hJrxtHdYOSCImwv)

**PYSPARK\_DRIVER*****\_*****PYTHON** = jupyter

![](/files/4xvdmm2gvZdWT93xmpJ5)

**PYSPARK\_DRIVER\_PYTHON\_OPTS** = 'notebook'

![](/files/JB9pmpVBmlvZ0lMaDpk4)

That's it!

*You can verify if your setup was successful by typing the following command on cmd*

```bash
pyspark
```

*This should open jupyter notebook in your default browser.*
