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

when running in VScode Juptyer, kernel crashes #568

Open
Beck-Pro opened this issue Feb 4, 2024 · 1 comment
Open

when running in VScode Juptyer, kernel crashes #568

Beck-Pro opened this issue Feb 4, 2024 · 1 comment
Labels
question Further information is requested

Comments

@Beck-Pro
Copy link

Beck-Pro commented Feb 4, 2024

Visual Studio Code (1.86.0, undefined, desktop)
Jupyter Extension Version: 2024.1.0.
Python Extension Version: 2024.0.0.
Pylance Extension Version: 2023.12.1.
Platform: win32 (x64).
Workspace folder \Desktop\HMS, Home = c:\Users\Beck
01:19:18.492 [info] Start refreshing Kernel Picker (1707063558492)
01:19:18.499 [info] Using Pylance
01:19:18.511 [info] Start refreshing Interpreter Kernel Picker
01:19:18.872 [warn] No interpreter with path \anaconda3\envs\2\python.exe found in Python API, will convert Uri path to string as Id \anaconda3\envs\2\python.exe
01:19:18.873 [warn] No interpreter with path \anaconda3\envs\test\python.exe found in Python API, will convert Uri path to string as Id \anaconda3\envs\test\python.exe
01:19:19.399 [info] Starting Kernel startUsingPythonInterpreter, .jvsc74a57bd0b40964ac9d3cf804d38643e6e4d36a1178437c6b8168cc9c92d0f88e649035d3.
\anaconda3\envs\hms\python.exe.
\anaconda3\envs\hms\python.exe.-m#ipykernel_launcher (Python Path: \anaconda3\envs\hms\python.exe, Conda, hms, 3.8.0) for '\Desktop\HMS\EDA.ipynb' (disableUI=true)
01:19:21.704 [warn] Kernel Spec for 'test' (
\AppData\Roaming\jupyter\kernels\test\kernel.json) hidden, as we cannot find a matching interpreter argv = '
\anaconda3\envs\test\python.exe'. To resolve this, please change '
\anaconda3\envs\test\python.exe' to point to the fully qualified Python executable.
01:19:21.722 [warn] Kernel Spec for '2' (\AppData\Roaming\jupyter\kernels\2\kernel.json) hidden, as we cannot find a matching interpreter argv = '\anaconda3\envs\2\python.exe'. To resolve this, please change '~\anaconda3\envs\2\python.exe' to point to the fully qualified Python executable.
01:19:21.933 [info] End refreshing Kernel Picker (1707063558492)
01:19:22.426 [info] Process Execution: ~\anaconda3\envs\score\python.exe -m pip list
01:19:22.462 [info] Process Execution: ~\anaconda3\envs\hms\python.exe -m pip list
01:19:22.473 [info] Process Execution: ~\anaconda3\envs\hms\python.exe -c "import ipykernel; print(ipykernel.version); print("5dc3a68c-e34e-4080-9c3e-2a532b2ccb4d"); print(ipykernel.file)"
01:19:22.485 [info] Process Execution: ~\anaconda3\envs\hms\python.exe ~.vscode\extensions\ms-toolsai.jupyter-2024.1.0-win32-x64\pythonFiles\vscode_datascience_helpers\kernel_interrupt_daemon.py --ppid 31564
> cwd: ~.vscode\extensions\ms-toolsai.jupyter-2024.1.0-win32-x64\pythonFiles\vscode_datascience_helpers
01:19:22.614 [info] Process Execution: \anaconda3\envs\hms\python.exe -m ipykernel_launcher --f=\AppData\Roaming\jupyter\runtime\kernel-v2-315642LAQ1OeHlk7h.json
> cwd: ~\Desktop\HMS
01:19:22.614 [info] Kernel process 31456.
01:19:24.354 [info] Process Execution: ~\anaconda3\envs\hms\python.exe ~.vscode\extensions\ms-toolsai.jupyter-2024.1.0-win32-x64\pythonFiles\printJupyterDataDir.py
01:20:30.870 [info] Handle Execution of Cells 5 for ~\Desktop\HMS\EDA.ipynb
01:20:30.876 [info] Kernel acknowledged execution of cell 5 @ 1707063630876
01:20:33.872 [error] Disposing session as kernel process died ExitCode: 3221225477, Reason:
01:20:33.872 [info] Dispose Kernel process 31456.
01:20:33.893 [info] End cell 5 execution after -1707063630.876s, completed @ undefined, started @ 1707063630876

this is what i got
python is 3.8.0
braindecode is 0.8.1
torch is 2.2.0

@bruAristimunha
Copy link
Collaborator

Hey @Beck-Pro,

Can you please give more details about what are you running with braindecode, and try to install the source version with a different python version (3.9 or 3.10)?

Could be some small dependence or a python version issue.

@bruAristimunha bruAristimunha added the question Further information is requested label Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants