Unable to Launch Jupyter Notebook from WSL (Windows Subsystems for Linux) terminal

Hello all,

I have just installed spark and juputer notebook on WSL but I am not able to launch jupyter notebook after typing pyspark on WSL terminal.

The WSL (Ubuntu 22.04 ) lab was setup with the bashrc file containing the following variables.

export SPARK_HOME="home/hashiru/spark-3.3.0-bin-hadoop3
export PYSPARK_SUBMIT_ARGS=“pyspark-shell”
export PYSPARK_DRIVER_PHYTHON=ipython
export PYSPARK_DRIVER_PHYTHON_OPTS=‘notebook’ pyspark

I am receiving the following error: [TerminalIPythonApp] WARNING | File ‘notebook’ doesn’t exist

what am I missing as I am a new bee

Thanks in Advance

H

Hi @Hashiru_Newland ,

Please use the following & it worked for me in mac:
export PYSPARK_SUBMIT_ARGS=“pyspark-shell”
export PYSPARK_DRIVER_PYTHON=jupyter
export PYSPARK_DRIVER_PYTHON_OPTS=lab

Regards
Kamal.