-
Notifications
You must be signed in to change notification settings - Fork 336
Description
I have a workspace containing several folders with projects. One contains a subfolder ".venv" with an environment for that specific project. I employ scripts, that I'd like to run interactively with that particular environment:
Folder structure:
/workspace
/workspace/project1/...
/workspace/project2/.venv/Scripts/python.exe
/workspace/project2/.vscode/settings.json
/workspace/project2/blabla/my_script.py
But whenever I open the interactive console, it will start with some system python. Then I have to manually select the proper environment. This is annoying!
This is the content of settings.json:
{
"python.pythonPath": ".venv\Scripts\python.exe"
}
In addition I observed, that the same setup has worked before my recent update to vscode v1.59.
Can someone please give me advice about how to setup my workspace properly or how to configure vscode?
Thanks,
Daniel