Timeline for How to add a virtual environment to VS Code's launch.json?
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 5 at 12:20 | comment | added | vit |
Sometimes launch.json works without specifying the python attribute, but other times the vscode-debugger use the global python instead of the one inside the venv folder, so I need to specify it. Strange.
|
|
Dec 18, 2023 at 5:10 | comment | added | bayman |
Method 1 is not working for me in latest version of vscode. I've added export oscar=/my/virtualenv/path to my ~/.zshrc and it didn't work
|
|
Apr 7, 2023 at 13:42 | comment | added | Augusto |
That has worked for me. However, the execution can't find a credentials.json file in the same directory as the Python execution file.
|
|
Dec 5, 2021 at 13:43 | comment | added | Mike Slinn |
That is not my experience, all that is required is that the python interpreter is present at the specified location and that it runs.
|
|
Dec 4, 2021 at 9:42 | comment | added | Timo |
The third answer does not work when at the bottom left the python interpreter does not have a (venv) beforehand I think but refers to the system python.
|
|
Apr 6, 2021 at 16:12 | history | edited | Mike Slinn | CC BY-SA 4.0 |
added 485 characters in body
|
Apr 6, 2021 at 15:41 | history | edited | Mike Slinn | CC BY-SA 4.0 |
added 609 characters in body
|
Apr 6, 2021 at 15:29 | history | answered | Mike Slinn | CC BY-SA 4.0 |