Install Python and pip

  1. Check if Python is already installed:

    python3 --version
    
  2. If you don’t have Python 3.10+, install it:

    sudo apt install -y python3 python3-pip python3-venv
    
  3. Check the version again to see if everything is right.