A Step-by-Step Guide to Installing Python
Leroy - Oct 4, 2023 - 1 min read
Table of Contents

Image Credit: Christina Morillo
Installing Python
Python is a versatile and widely-used programming language. Here are the steps to install Python on your system:
Step 1: Download Python
Visit the official Python website at python.org/downloads to download the Python installer for your operating system.
- For Windows, you can download the installer labeled "Windows Installer."
- For macOS, you can download the installer for the latest version.
- For Linux, Python is often pre-installed. You can use your system's package manager to install it.
Step 2: Run the Installer
Windows
- Double-click the downloaded installer.
- Check the box that says "Add Python X.X to PATH" (where "X.X" is the Python version).
- Click "Install Now."
macOS
- Double-click the downloaded package file (e.g.,
python-3.X.X-macosx10.X.pkg). - Follow the installation prompts.
Linux
Use your system's package manager to install Python. For example, on Debian-based systems like Ubuntu, you can use:
sudo apt-get update
sudo apt-get install python3
Step 3: Verify Installation
To verify that Python has been installed successfully, open a terminal or command prompt and run:
python --version
This should display the installed Python version.
Congratulations! You've successfully installed Python on your system. You can now start writing and running Python programs.