Jupyter Lab error out in Windows Subsystem for Linux (WSL2).
See original GitHub issueIs your feature request related to a problem? Please describe. Yes! I’m getting an error when trying to run “jupyter lab” to run notebook in WSL.
I’m sure that this not available yet. But, it would be a NICE to have it working on WSL
PS C:\Windows\System32> $PSVersionTable
Name Value
---- -----
PSVersion 7.0.0-rc.2
PSEdition Core
GitCommitId 7.0.0-rc.2
OS Microsoft Windows 10.0.19559
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
PS C:\Windows\System32>
Windows 10 Insider
(OS Build 19559.1000)
WSL - 2
(base) maxt@earth:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.4 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.4 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
(base) maxt@earth:~$
Anaconda 2019.10
(base) maxt@earth:~$ conda info
active environment : base
active env location : /home/maxt/anaconda3
shell level : 1
user config file : /home/maxt/.condarc
populated config files :
conda version : 4.7.12
conda-build version : 3.18.9
python version : 3.7.4.final.0
virtual packages :
base environment : /home/maxt/anaconda3 (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /home/maxt/anaconda3/pkgs
/home/maxt/.conda/pkgs
envs directories : /home/maxt/anaconda3/envs
/home/maxt/.conda/envs
platform : linux-64
user-agent : conda/4.7.12 requests/2.22.0 CPython/3.7.4 Linux/4.19.84-microsoft-standard ubuntu/18.04.2 glibc/2.27
UID:GID : 1000:1000
netrc file : None
offline mode : False
(base) maxt@earth:~$
Issue Analytics
- State:
- Created 4 years ago
- Comments:8
Top Results From Across the Web
Configuring Jupyter Notebook in Windows Subsystem ...
We are going to see how to: Install and configure a WSL2; Install and configure Windows Terminal; Install Miniconda and common libraries; Launch...
Read more >Jupyter lab NetworkError running on WSL2
1 Answer 1 · Exit out of any running WSL instances · wsl --shutdown at the PowerShell or CMD prompt · Restart your...
Read more >How to Fix Jupyter Lab NetworkError Running on WSL2
Conclusion. In this article, we've discussed how to fix the Jupyter Lab NetworkError issue when running Jupyter Lab on WSL2. The solution ...
Read more >Troubleshooting Windows Subsystem for Linux
Provides detailed information about common errors and issues people run into while running Linux on the Windows Subsystem for Linux.
Read more >Setting up Jupyter using Conda in WSL2
Hi, in this post, I would like to share my working environment (Windows 10 with WSL2) and daily routine using Jupyter with conda...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can have jupyter notebook open the browser directly from wsl by disabling this option:
c.NotebookApp.use_redirect_file = False
By default, jupyter will try to open a redirect file with your browser. but the windows browser cannot find the wsl file path. This is where the file not found error comes from. This option let’s you revert back to just opening the link in the browser.
@janreitz
Damn!! This is it!!!
Adding the line:
Did the magic.
Thank You Very Much!
👍