Apart from typing out commands - is there a good way to install requirements.txt inside VSCode.
I have a workspace with 2 folders containing different Python projects added - each has it's own virtual environment. I would like to run a task to execute and install the requirements to each of these.
I have tried adding a task to tasks.json to try and do it for one with no success.
{"version": "2.0.0","tasks": [ {"label": "Service1: Install requirements","type": "shell","runOptions": {},"command": "'${workspaceFolder}/sources/api/.venv/Scripts/activate'; pip install -r '${workspaceFolder}/sources/api/requirements.txt'","problemMatcher": [] } ]}This runs - but you can see it refer to my global Python packages h:\program files\python311\lib\site-packages - not the virtual environment.
I am running on Windows for this - but would like it to work eventually with Linux.