Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++17 Kernel does not work on WSL2 / Win11 #430

Open
HappyCerberus opened this issue Feb 15, 2022 · 6 comments
Open

C++17 Kernel does not work on WSL2 / Win11 #430

HappyCerberus opened this issue Feb 15, 2022 · 6 comments

Comments

@HappyCerberus
Copy link

I just did a fresh install under WSL2 on Win11 Pro.

conda activate cling
conda install xeus-cling jupyterlab -c conda-forge
jupyter-notebok --generate-config
# added c.NotebookApp.user_redirect_file = False
jupyter-lab

Then when I select the C++17 kernel this is what I get in the console and then the kernel disappears:

[W 2022-02-15 22:12:48.541 LabApp] Could not determine jupyterlab build status without nodejs
[I 2022-02-15 22:12:50.434 ServerApp] Kernel started: e19a3253-0ed4-4bd7-b8f3-afa84232ac87
[I 2022-02-15 22:12:53.425 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (1/5), new random ports
[I 2022-02-15 22:12:56.442 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (2/5), new random ports
[I 2022-02-15 22:12:59.457 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (3/5), new random ports
[I 2022-02-15 22:13:02.472 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (4/5), new random ports
[I 2022-02-15 22:13:05.489 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (5/5), new random ports
[W 2022-02-15 22:13:08.504 ServerApp] AsyncIOLoopKernelRestarter: restart failed
[W 2022-02-15 22:13:08.504 ServerApp] Kernel e19a3253-0ed4-4bd7-b8f3-afa84232ac87 died, removing from map.

This might be related to #415 and #413
C++11 kernel does seem to work.

@spectre-ns
Copy link

Getting the same issues.

@spectre-ns
Copy link

C++11 and C++14 both appear to work.

@spectre-ns
Copy link

Doesn't work in hyper-v either

@DavidFFFan
Copy link

I have the same problem. C++11 and C++14 work, but C++17 doesn't work.
System info.
Linux acer 5.10.16.3-microsoft-standard-WSL2 #1 SMP Fri Apr 2 22:23:49 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

@studioai
Copy link

I have the same issue.

Linux DietPi 4.19.0-20-amd64 #1 SMP Debian 4.19.235-1 (2022-03-17) x86_64 GNU/Linux

I get 'Segmentation fault' when running 'xcpp -std=c++17' on the shell.

@ravinsharma7
Copy link

I'm having the same problem too. On windows 10, WSL. C++11 and C++14 works fine, C++17 does appear a kernel in jupyter notebook.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants