1.1. Installing Python#

1.1.1. Windows#

Visit the Python Downloads page for Windows, then select the latest version (As of this writing 3.11.1).
Execute the installer with the default configuration.

1.1.1.1. Windows System for Linux (WSL)#

Alternatively, you can install WSL to allow a Linux-like development environment on Windows. When using WSL, follow the procedure for Linux installation.

1.1.2. OSX#

Install the Homebrew package manager:

$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Update Homebrew to obtain the latest information of available packages:

$ brew update && brew upgrade

Install Python:

$ brew install python3

1.1.3. Linux#

1.1.3.1. Ubuntu#

Update your package manager:

$ sudo apt-get update && sudo apt-get upgrade

Install Python:

$ sudo apt-get install python3 python3-pip

1.1.3.2. Fedora & CentOS#

Update your package manager:

$ sudo yum -y update

Install Python:

$ sudo dnf install python3 python-pip

1.1.3.3. Arch#

Install Python with pacman:

$ pacman -S python

1.1.4. Docker#

Pull the official Python image from the Docker registry:

$ docker pull python

1.2. Verify your installation#

We suggest to verify your Python installation:

$ python -V
Python 3.11.1