Skip to content

Installation

Python is a programming language compatible with various operating systems, including Linux, macOS and even Windows. This versatility makes it an ideal choice for developers on different platforms.

Below, we’ll show you how the Python installation process works on each of these operating systems.

  1. Go to the official site: https://www.python.org/downloads


    Image

  2. Download the Windows installer (choose the recommended version).

  3. Run the installer:

    • Check “Add Python to PATH” before clicking Install Now.
    • Then click Install Now.

  4. Wait for the installation to finish and close the installer.

  5. Verify from CMD or PowerShell:

    Ventana de terminal
    python --version
  6. Installation Complete

  1. Open Terminal (from Spotlight: Cmd + Spacebar, then type Terminal).

  2. Install Python:

    Ventana de terminal
    brew install python
  3. Verify version:

    Ventana de terminal
    python3 --version
  4. Use pip to install packages (Optional):

    Ventana de terminal
    pip3 install package-name
  5. Installation Complete

  1. Open the terminal (Ctrl + Alt + T).

  2. Update the system:

    Ventana de terminal
    sudo apt update && sudo apt upgrade
  3. Install necessary dependencies:

    Ventana de terminal
    sudo apt install software-properties-common -y
  4. Install Python (for example, 3.11):

    Ventana de terminal
    sudo apt install python3.11 -y
  5. Verify installation:

    Ventana de terminal
    python3.11 --version
  6. Installation Complete