'WSL2 Jupyter Notebook error Powershell cannot find file specified

enter image description here

I am excited about the wsl2 and then straightaway installed Anaconda for setting up my DS environment.

Following this article

After I typed

jupyter notebook

I see this error.

Could anyone give some hints?



Solution 1:[1]

Found another article

It seems that this error is cause by missing of browser(GUI) in the WSL, so that is why this error happens.

I then run

jupyter notebook --no-browser

No it doesn't show the error.

Could someone confirm my guess?

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Community