Skip to content
Andrei Montchik edited this page Jun 11, 2026 · 2 revisions

Installation

Python

  1. Install Python3:

    sudo apt update;
    sudo apt install python3 python3-env python3 pip
    
  2. Check the installed Python version: python3 --version

  3. Create project directory.

  4. create venv in the project directory: python3 -m venv .venv

VSCode

  1. Activate the Python venv: source .venv/bin/activate
  2. Install the Misrosoft Python VSCode extension.
  3. Configure the Python interpreter:
    1. Ctrl + Shift + P
    2. Selecte "Python: Select Interpreter"
    3. Select .venv/bin/python
  4. Activate Python venv on VSCode startup: Add to .vscode/settings.json
    {
      "python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
      "python.terminal.activateEnvironment": true
    }
  5. Create requirements.txt and add required libraries to it.
  6. Install the required libraries: pip install -r requirements.txt

Clone this wiki locally