Python Installation Explained

In this tutorial, you’ll learn how to build a basic a python environment on Windows, Linux and macOS.

Install Python on Windows

To install Python on Windows, you can follow these steps.

1.Download the latest version of Python in the downoad page

2.Double-click the installer file to install

python installer

You need to select Add Python 3.8 to PATH and click Install Now to begin the installation.

Wait for some minutes, you will see Setup was successful.

Python installation Setup was successful

3.Verify the installation

To verify python installation, you open the Run window and type cmd and press Enter.

Verify Python Installation on Windows

Type python command, you will see a python version.

If you see Python not found in command prompt, you should add the path of python.exe to system environment path.

Install Python on Linux

Before installing Python 3 on Linux, you need check whether Python 3 has been already installed from the terminal.

python3 --version

If you see a python version, it means python 3 has been installed. Otherwise, you need to install.

Suppose you plan to install Python 3.10 on Ubuntu, using these commands.

$ sudo apt-get update
$ sudo apt-get install python3.10

Install Python on macOS

To install python on your macOS, you can typically follow these general steps.

1.Download latest python macOS version

2.Double-click the downloaded installer package file

python macOS Installer

Clicking on the Continue button to install.

Then, you can install python from Introduction to Summary.

Install Python on macOS

3.Double-click on the Install Certificates.command icon or file in the /Applications/Python 3.13/ window to complete the installation

Python Install Certificates.command on macOS

This will open a temporary Terminal shell window that will use the new Python to download and install SSL root certificates for its use.

install python certifi on macOS

If Successfully installed certifi and update complete appears in the terminal window, the installation is complete. Close this terminal window and the installer window.