You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
${command:python.interpreterPath} incorrect substitution in pythonDeprecatePythonPath experiment #17076
Name: Python
Id: ms-python.python
Description: IntelliSense (Pylance), Linting, Debugging (multi-threaded, remote), Jupyter Notebooks, code formatting, refactoring, unit tests, and more.
Version: 2021.8.1105858891
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-python.python
tasks.json:
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "doit",
"type": "process",
"command": "${command:python.interpreterPath}",
"args": [
"py.py"
],
"problemMatcher": []
}
]
}
Default interpreter:
Task output:
> Executing task: R:\py\C:\Python\39\python.exe py.py <
The terminal process failed to launch: Path to shell executable "R:\py\C:\Python\39\python.exe" does not exist.
Here R:\py is the folder currentrly opened in vscode.
Initially I got the same issue in the folder where I had virtualenv in a subfolder:
> Executing task: S:\git\Jenot\s:\git\Jenot\venv\Scripts\python.exe -m doit <
The terminal process failed to launch: Path to shell executable "S:\git\Jenot\s:\git\Jenot\venv\Scripts\python.exe" does not exist.
VS Code in there uses a relative path ro interpreter for some reason:
Activity
paulacamargo25 commentedon Sep 2, 2021
Thanks for the bug report! We just wanted to quickly acknowledge we received it and we will triage this as soon as we can.
karrtikr commentedon Jun 8, 2022
Why was this closed?