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
VSCode changed "conda activate [environment]" to "source activate [environment]" in remote ssh #20592
Comments
Should be fixed with #11039 once we start using Make sure In case that doesn't fix the issue, can you provide a screenshot of the error you're getting when |
However, the question I would like to answer is: is there a way to revert the initial command that the terminal executes when I launch it from |
Unfortunately no. I'm not sure why it changed. All this activation code will go away with #11039, so instead of fixing the issue I was hoping we would make the
What about |
Also, what is the version of conda you're using? |
Okay, I can confirm that adding I just found out the root of the problem. With Thank you so much and let me know if you want any other info related to this issue before closing it. |
Interesting, well glad you have a workaround for now. I'm closing this issue as we'll be rewriting activation with #11039. |
After upgrading conda, I've been having the same issue reported here. I'm using local environments on macOS.
What was the reasoning for this? I'm not aware of I can confirm that downgrading |
Type: Bug
Behaviour
Expected vs. Actual
The problem I'm facing is that vscode executes "source activate [environment]" instead of "conda activate [environment]" only when I connect to my server via ssh. My server runs ubuntu 20.04 and same thing happens when connecting from windows or linux. It always worked well until last afternoon. I tried updating vscode, but it didn't solve it.
Steps to reproduce:
As I've always done, selecting my python interpreter from my conda env in local works well, but it does not when I do it in remote.
Diagnostic data
python.languageServer
setting: DefaultOutput for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)User Settings
Extension version: 2022.20.2
VS Code version: Code 1.74.3 (97dec172d3256f8ca4bfb2143f3f76b503ca0534, 2023-01-09T16:57:40.428Z)
OS version: Linux x64 5.15.0-58-generic
Modes:
Sandboxed: No
Remote OS version: Linux x64 5.15.0-58-generic
System Info
canvas_oop_rasterization: disabled_off
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_renderer: enabled_on
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: