-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
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:
- For example, open a project window and start a python process, then reload this window. At that time I can see the process be killed. I have checked
dmesg | grep kill, it is not a resouce limitation problem.
Diagnostic data
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
The only error I see in `Output-Pyhon` is below:
[error] Failed to initialize deactivate script /bin/bash [Error: "/home/user/.vscode-server/extensions/ms-python.python-2025.4.0-linux-x64/python_files/deactivate/bash/envVars.txt" file not created
at Timeout.<anonymous> (/home/user/.vscode-server/extensions/ms-python.python-2025.4.0-linux-x64/out/client/extension.js:2:310591)
at listOnTimeout (node:internal/timers:581:17)
at process.processTimers (node:internal/timers:519:7)]
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