Skip to content

How to Install Python (With or Without Crying)

With a bit of history, humor, and installation steps for Windows, macOS, and Linux.

Before you install Python and become a keyboard wizard, let’s take a tiny trip back in time...

A Brief and Slightly Dramatic History of Python

Once upon a time (specifically in 1989), a Dutch programmer named Guido van Rossum got really bored during Christmas and decided to create a programming language.
But instead of making it cryptic and scary like C++ (aka "Code with Crying"), he wanted something simple, fun, and actually readable by humans.

And so, Python was born.
(No snakes involved — he named it after Monty Python’s Flying Circus, a British comedy show. Because why not.)

Fast forward to today, Python is:

  • Used by NASA 🚀, Google 🌍, and Netflix 🍿.
  • Loved by beginners, professionals, and that one guy in your office who won’t shut up about automation.

So now you’re probably thinking:

"Cool story, but where’s the actual install guide?!"

Buckle up, code cadet. Let’s do this.

😌 Is Installing Python Easy?

Short answer: Yes.
Long answer: Yes, but only if you follow instructions and don’t randomly click 'Next > Next > Finish' like it’s Minesweeper.

Let’s break it down by operating system: Windows, macOS, and Linux — because every hero uses a different sword.

i): Windows: The Checkbox of Destiny

  1. Go to the official download page and grab the latest Python 3 installer for Windows.
  2. 🔥 MOST IMPORTANT STEP:
    ✅ Check the box that says “Add Python to PATH” before clicking install.
    Forget this and you'll summon ancient errors from the underworld.
  3. Click “Install Now”, wait for the progress bar to fill like your confidence, and boom — Python is yours.
  4. Open Command Prompt and test it:
    bash
    python --version

You should see something like Python 3.x.x. If not… did you check the box? 😬

ii) macOS: The Brew-tiful Way

You might already have Python 2.x pre-installed. Ignore it — it’s a fossil. Let’s get the fresh Python 3 using Homebrew (macOS's vending machine for developers):

  1. First, install Homebrew if you haven’t:

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

    bash
    brew install python
  3. Test it:

    bash
    python3 --version
  4. Want to run scripts with python instead of python3? You can alias it:

    bash
    echo "alias python=python3" >> ~/.zshrc
    source ~/.zshrc

Congratulations, Mac mage. You now have Python and a cool terminal vibe.

iii) Linux: The Hacker Aesthetic

On most Linux distros, Python 3 is already installed — but let’s be sure.

Ubuntu/Debian:

bash
sudo apt update
sudo apt install python3 python3-pip

Fedora:

bash
sudo dnf install python3

Arch:

bash
sudo pacman -S python

Check the version:

bash
python3 --version

Optional but cool:

bash
alias python=python3

Because typing extra characters is so pre-2020.

💀 Common Mistakes (and How to Survive Them)

  • Didn’t check “Add to PATH” on Windows? Reinstall and check it. Yes, again. Yes, it matters.

  • Typing python vs python3: Just go with python3 unless you've aliased it. Don’t fight the shell.

  • Still getting Python 2? That’s the ghost of the past. Ignore it or banish it if you’re brave.

🧪 Verify That Python Is Ready

Run the Python interpreter:

bash
python3

You should get:

python
Python 3.x.x
>>>

That >>> prompt means Python is listening. Try this:

python
print("Hello, human!")

If your terminal responds like a friendly chatbot, then congrats: You're officially ready to write code! 🎉

Built by noobs, for noobs, with love 💻❤️