Particular to running in WSL.
The usual way to start is with
jupyter notebook
But if error
jupyter Start : This command cannot be run due to the error: The system cannot find the file specified.
The problem occurs because the Jupyter notebook tries to open the browser after it is started
Then start with any of:
jupyter notebook --no-browser
jupyter notebook --port=8889 --no-browser
There are two important steps:
Run
jupyter notebook --generate-config
to generate the file ~/.jupyter/jupyter_notebook_config.py then change the following line:
c.NotebookApp.use_redirect_file = False
Uncomment that line.
Add your browser to ~/.bashrc E.g.
export BROWSER='/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe'
Then
source ~/.bashrc
Running Jupyter Notebook on WSL while Using Browser on Windows A guide to having a similar experience to Ubuntu or Mac Ali Akbar Septiandri Apr 25, 2020
jupyter/jupyter_core#191 Jupyter Notebook does not load using ubuntu 18.04 LTS in windows 10 #191