-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Integrated Terminal Not Successfully Activating pyenv-virtualenv #24701
Comments
@rrigato Can you share the logs from Output > Python? That should have some clues as to why we are not activating. |
@karthiknadig Thanks for looking into this! Is the below the correct logs? I ran the
|
The logs seem to suggest the selected environment is different from the one you showed in the screenshot. But, in any case try this: Add the following to your User
|
Logs from Output>Python my system, downgrading is also not helping
|
@bgarvit01 is |
In remote-settings.json:
But in Remote machine:
Worked after removing the default interpreter path |
You don’t need to set it. If you really need to set it, then use the one you want for the project. It does not matter if it is a venv or global. You set it to force the extension to select the one you provided in that setting. Typically, the project selector can select the environment if it exists in the workspace directory. |
Thanks @karthiknadig Adding the following to my settings.json fixed the issue!!!
Any other information needed from my side, do you think that is a long term fix? |
We plan on removing that experiment so that should be it for now. |
Type: Bug
Downgrading extensions and disabling all extensions does not seem to make a difference when attempting to use a virtualenv with the integrated terminal.
steps to reproduce
python --version; which python
replicated bug with downgraded extensions:
version information from above bug
VS Code version: Code 1.96.2 (fabdb6a30b49f79a7aba0f2ad9df9b399473380f, 2024-12-19T10:22:47.216Z)
OS version: Darwin arm64 24.2.0
Modes:
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
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Enabled Extensions
A/B Experiments
The text was updated successfully, but these errors were encountered: