by: Cobena Isaac

Installing Python

Installing Python

Installing Python

To install Python on your computer :

Step 1: Download Python

  1. Open your web browser and go to https://www.python.org
  2. Navigate to the Downloads section in the main menu
  3. Choose your operating system to see the download options

Python install window

Step 2: Choose Your Operating System

  • Windows: Click the yellow “Download Python” button (automatically detects your system)
  • macOS: Select “macOS” from the downloads menu
  • Linux: Choose “Linux” or use your distribution’s package manager

Step 3: Installation Instructions

For Windows Installation:

  1. Double-click the downloaded .exe file
  2. Crucial: Check “Add Python to PATH” at the bottom of the installer
  3. Click “Install Now” (includes IDLE, pip, and documentation)
  4. Wait for completion
  5. Verify: Open Command Prompt (Win + R, type cmd) and type:
python --version

You should see the Python version number


For macOS Installation: For detailed macOS instructions, visit: macOS Installation Guide

  1. Download the macOS installer from python.org
  2. Open the .pkg file and follow the installation wizard
  3. Alternatively, use Homebrew: brew install python

Common Installation Issues you might encounter and Solutions

1.Python is not recognized :

This problem occur when Python isn’t in your system PATH.

Reinstall and ensure “Add Python to PATH” is checked

  1. Permission Errors (macOS/Linux)

    Use sudo with installation commands or install for your user only

  2. Multiple Python Versions

    Use python3 command instead of python


Congratulations! 🎉 You now have Python installed and are ready to write your first program.

What’s Next: Continue your journey with our tutorial on Python Data Types to learn how to work with different kinds of data in Python.

Explore more Python concepts in our upcoming tutorials. Happy coding!