- right click on project root folder > select open in terminal
python -m venv .venv
to setup python virtual environment for this project. TIP: copy from here and right click in terminal to paste-and-execute.- Dialog should come up asking you want this env as interpreter for project: answer yes.
- If no to (3) on blue ribbon at bottom of VSCODE, on left click on interpreter, chose the venv one you just created.
- Might get some bits and both e.g. 'install pylint' etc. click install for them.
pip install -r requirements.txt
to install packages