Vs Code plugins dependencies:
1. Install python plugin from Microsoft 2. Install pylance plugin from Microsoft 3. Install Black Formatter plugin from Microsoft Create a virtual env inside your project root.
python3.10 -m venv venv Activate the venv.
source venv/bin/activate Install the dependency from requirments.txt
pip install -r requirments.txt
Select python env from venv for VS Code interpreter
You can set the interpreter by pressing
Ctrl+Shift+P, searching for Python: Select Interpreter, and then choosing the virtual environment in your project root
(.venv/bin/python or similar).
Top comments (0)