-
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
Python Virtual Env activates with two parenthesis #23205
Comments
I have the same problem on Mac OS, when activate virtual environment and use command 'which python', terminal shows me path to global interpreter. |
Same problem for me on Mac OS.
For me, Downgrading the Python extension to v2024.2.1 fixed the problem. |
Confirm |
@jascomp @blazerzar Deactivate permission error tracking issue #23195 |
Pre-release version (v2024.5.11002139) fixed the double parenthesis issue for me. |
Type: Bug
Behaviour
After the VSCode March 2024 Update I noticed that when I open a new Terminal with automatic Python environment activation it is showing the prompt with two sets of parenthesis:
((.venv) ) myuser@ubuntu23:~/src/myapp$
Where before it was:
(.venv) myuser@ubuntu23:~/src/myapp$
The above is also what I get when I activate the environment manually:
source .venv/bin/activate
I'm running the Terminal in VSCode through a remote SSH connection.
There's been no changes to the host box and my application seems to run without issues, but it's just odd.
I've tried removing the
.vscode-server
and.vscode
directories on the remote host and letting VSCode recreate them.Steps to reproduce:
VS Code version: Code 1.88.0 (5c3e652f63e798a5ac2f31ffd0d863669328dc4c, 2024-04-03T13:26:18.741Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Remote OS version: Linux x64 6.5.0-26-generic
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
Extensions (19)
A/B Experiments
The text was updated successfully, but these errors were encountered: