-
Notifications
You must be signed in to change notification settings - Fork 1.2k
The anaconda environment is not activated automatically when I open the terminal. Although I can see the environment name in terminal, it is not actually activated. The which python
command output the base env of the anaconda.
#25052
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
@zhanglixuan0720 Please share logs from Output > Python Also try workarounds recommend in : #24699 |
@karthiknadig Thank you for your response. I followed the workaround recommended in GitHub issue #24699 but unfortunately, it did not resolve the issue. Below, I’ve shared the logs from Output > Python, which might help in diagnosing the problem.
This issue only started after updating VS Code to the latest version today. I suspect that this may be related to changes in the new version of VS Code, as the issue did not appear prior to the update. My VS Code version information is as follows:
|
@zhanglixuan0720 Did you add It could be that there is some issue with activation caused by some changes to VS Code 1.100. But the above setting should help with this. |
@karthiknadig Thank you for your solution. I added the setting |
Type: Bug
Behaviour
Open the terminal and find the python virtual env is not activated.
Steps to reproduce:
Select the anaconda virtual python environment
Open one terminal.
type
which python
in the CML and find the output is the base env instead of configured env.Extension version: 2025.6.0
VS Code version: Code 1.100.0 (19e0f9e681ecb8e5c09d8784acaa601316ca4571, 2025-05-07T12:48:53.763Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 5.15.0-127-generic
Connection to 'SSH: lixuan-V100' could not be established The remote host does not meet the prerequisites for running VS Code Server
python.languageServer
setting: DefaultUser Settings
Installed Extensions
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Connection to 'SSH: lixuan-V100' could not be established The remote host does not meet the prerequisites for running VS Code Server
A/B Experiments
The text was updated successfully, but these errors were encountered: