-
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
VSCode 1.96.0 with GitHub CoPilot Extension enabled Breaks Activation of Python venv in Terminal #24643
Comments
Downgrading the package to the following version resolves the issue. |
@scottbisker Can you share the logs from Output > Python? Also when you are created the terminal did you use any command from the |
In troubleshooting, I removed the python environments and then recreated
using Python: Create Environment. I selected the correct Python version
and the environment was created.
Nothing special was done to create the environments. And this issue
applies to all Python virtual environments.
VSCode is even creating a pop-up notification that the virtual environment
is now activated, when it is in fact not.
I don't have any output from Output->Python.
…On Thu, Dec 19, 2024 at 11:40 AM Karthik Nadig ***@***.***> wrote:
@scottbisker <https://github.com/scottbisker> Can you share the logs from
Output > Python? Also when you are created the terminal did you use any
command from the python-environment-manager extension ?
—
Reply to this email directly, view it on GitHub
<#24643 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI247JLHNDJZSTC4QE4GPJT2GLZGTAVCNFSM6AAAAABT5MEMOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJVGAYDAMZQGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@scottbisker Add this setting to your user settings, and Re-load.
You may also need to run |
Thanks!
By adding that setting, the terminal now activates the virtual environment
as expected.
…On Thu, Dec 19, 2024 at 1:22 PM Karthik Nadig ***@***.***> wrote:
@scottbisker <https://github.com/scottbisker> Add this setting to your
user settings, and Re-load.
"python.experiments.optOutFrom": ["pythonTerminalEnvVarActivation"]
You may also need to run Python: Clear cache and reload window command
after updating the setting. See if that helps.
—
Reply to this email directly, view it on GitHub
<#24643 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI247JKNJKSOAUQ4PZKPXDL2GMFERAVCNFSM6AAAAABT5MEMOWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJVGQ4TSOBYGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Type: Bug
When the GitHub Copilot Extension is enabled, Terminals with associated Python venv do not activate the venv. This happened after upgrading to 1.96.0 today using debian package from https://packages.microsoft.com/repos/code
Attempted downgrading Github Copilot Extension version to three previous releases and still broken.
VS Code version: Code 1.96.0 (138f619c86f1199955d53b4166bef66ef252935c, 2024-12-11T02:29:09.626Z)
OS version: Linux x64 6.9.3-76060903-generic
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: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
Extensions (36)
A/B Experiments
The text was updated successfully, but these errors were encountered: