Repository navigation
Fix duplicated venv prompt parenthesis - #23201
Conversation
venv prompt parenthesis
Resolves: microsoft#23193 microsoft#23184 Resolve duplicated (.venv) prompt for users terminal. Issue came from: microsoft#23080
Resolves: microsoft/vscode-python#23193 microsoft/vscode-python#23184 Resolve duplicated (.venv) prompt for users terminal. Issue came from: microsoft/vscode-python#23080
Resolves: microsoft/vscode-python#23193 microsoft/vscode-python#23184 Resolve duplicated (.venv) prompt for users terminal. Issue came from: microsoft/vscode-python#23080
Resolves: microsoft/vscode-python#23193 microsoft/vscode-python#23184 Resolve duplicated (.venv) prompt for users terminal. Issue came from: microsoft/vscode-python#23080
|
Not sure if I'm just unlucky, but my Mac setup with work, and Ubuntu setup at home, for 2 different projects, are both missing the parenthesis now. So I now get: Instead of: I have no idea if this is related to this issue, but it sure looks like it is. Python3.13, vscode: 1.93.0, Microsoft Python Extension: v2024.14.0 EDIT: Ahh yes, I see. This appears to be stemming from a lack of communication or understanding between those 2 projects. Or perhaps I'm extremely misguided, and rambling like a fool. To fix this, you can add this to your settings JSON: And then do a hard reload of vscode. See also my SO post |
|
Addison G (@AddisonG) THANK YOU! This has been bugging me for months and never looked into it. |
|
Daniel Imms (@Tyriar) the issue that Addison and myself are experiencing might be VSCode related. If I make the update that Addison mentioned, VSCode terminal correctly shows The issue persists on WSL, as well. |
|
You're right. I actually didn't check the fix in a normal terminal. It's not related to that file, but that's a hack to fix it. Good to know someone else is having this issue, not just me. We can suffer together! I made a ticket, since now I know I'm not going crazy: I'm now pretty confident that this is a Vscode problem - not venv. |
|
check the venv’s activation script:
Look at this section of your activate script: Replace the problematic lines with: |
Resolves: #23193 #23184
Resolve duplicated (.venv) prompt for users terminal.
Issue came from: #23080