Setup Python

Instructions to install Python:

Warning

Do not use Python install manager. It causes a lot of issues.

Important

In the installer wizard, make sure to add python to system path.

Install latest stable version of python from: https://www.python.org/downloads/windows/.

Update pip (package manager for python):

python -m pip install --upgrade pip

Install python using system package manager:

sudo apt update
sudo apt install python3-dev python3-pip

Install mandatory dependencies:

pip install cffi

Optionally install tools for python type checking:

pip install pyright mypy types-cffi