-
Notifications
You must be signed in to change notification settings - Fork 1.2k
python process will be killed when project window activating conda environment #25009
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
Comments
I found the error message in
and the error in
Is there any other useful information I can provide? |
@DonJayamanne Is this something that Jupyter needs to investigate? |
This is expected. f you reload VSCode, then all processes started by VS Code will be killed. The only process that survive reloading VS Code are terminal sessions. If you want Jupyter Kernels in VS Code Notebooks to persist, then please upvote & follow this issue microsoft/vscode-jupyter#3998 @karthiknadig |
The process not related to VS Code (e.g. a shell command like However, this problem suddenly disappeared after a few days, during which time VS Code and extensions were not updated. Maybe it's a system problem, I will close the issue, thank you for your attention |
Uh oh!
There was an error while loading. Please reload this page.
Type: Bug
Behaviour
I encounterd a weird problem, whenever I open a project window (with remote-SSH), normally, a conda environment starts activating, but at this time the processes using the conda environments (other environments and the activating one) will be killed. Such processes include pytorch training, jupyter notebook and even conda install command.
I'm using VS code 1.99.3, the latest python extensions and the latest anaconda. Thanks for any help.
Steps to reproduce:
dmesg | grep kill
, it is not a resouce limitation problem.Diagnostic data
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)The only error I see in `Output-Pyhon` is below:
Extension version: 2025.4.0
VS Code version: Code 1.99.3 (17baf841131aa23349f217ca7c570c76ee87b957, 2025-04-15T23:18:46.076Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 5.4.0-212-generic
Remote OS version: Linux x64 5.4.0-204-generic
Remote OS version: Linux x64 5.4.0-204-generic
The text was updated successfully, but these errors were encountered: