🥝GuideKiwi
Free Guide

Get Your Free Python Installation Guide

Understanding Python and Why It Matters Python is a programming language—a tool that tells computers what to do. Unlike some other programming languages that...

GuideKiwi Editorial Team·

Understanding Python and Why It Matters

Python is a programming language—a tool that tells computers what to do. Unlike some other programming languages that use confusing symbols and strict rules, Python reads almost like regular English. This makes it popular with beginners and professionals alike. According to the 2023 Stack Overflow Developer Survey, Python ranks as the most wanted programming language, with 49% of developers expressing interest in learning or using it.

The language was created in 1989 by Guido van Rossum and released publicly in 1991. The name comes from the British comedy group Monty Python, not the snake, though many people assume otherwise. Python has grown tremendously because it works well for many different tasks. Data scientists use it for analyzing information. Web developers use it to build websites. Teachers use it to introduce students to coding concepts. Companies like Netflix, Spotify, Instagram, and Google rely on Python for various operations.

Learning Python opens doors to many career paths. The U.S. Bureau of Labor Statistics projects that employment in computer and information technology occupations will grow 15% from 2021 to 2031, much faster than average for all occupations. Many of these roles involve or require Python knowledge. Even if you don't plan to become a professional programmer, understanding how Python works teaches logical thinking and problem-solving skills that apply to many fields.

Python has several versions in use today. Python 2 was officially retired on January 1, 2020, meaning it no longer receives updates or security fixes. Python 3 is the current version, with regular updates and improvements. When you set up Python on your computer, you'll be installing Python 3. This guide covers the steps needed to get Python running on your machine, whether you use Windows, macOS, or Linux.

Practical Takeaway: Python is a widely-used, beginner-friendly programming language that opens opportunities across technology careers and teaches valuable thinking skills. Understanding what Python is and why it's relevant helps you approach the installation process with clear purpose.

What You Need Before Installation

Before you start installing Python, you should have a basic understanding of your computer's operating system and have some space available on your hard drive. Python itself takes up relatively little space—typically between 100 and 200 megabytes depending on which version and optional components you select. Most modern computers have this amount of space available without issue. However, if you plan to use Python with additional libraries and tools, you may want 1 to 2 gigabytes of available space to be safe.

You'll need to know whether your computer runs Windows, macOS, or Linux. These are the three main operating systems. Windows is made by Microsoft and runs on most standard desktop and laptop computers. macOS is made by Apple and runs on Mac computers. Linux is an open-source operating system that runs on various devices. The installation process differs slightly depending on your operating system, though the fundamental steps are similar. You can find your operating system by going to your computer's settings or system information.

Administrative access to your computer is helpful but not always required. Some installation methods place Python in locations that require administrator permissions to modify. However, alternative installation methods exist that allow you to set up Python in your user folder without needing administrator rights. If you're installing on a work computer or school computer, check with your IT department about whether you have permission to install new software.

You should also decide whether you want to install Python directly from the official source or through a distribution package. The official Python website (python.org) offers the standard Python installation. Alternatively, distributions like Anaconda include Python bundled with hundreds of popular libraries and tools, which can be convenient if you plan to work with data science or scientific computing. Anaconda takes up more disk space—roughly 3 gigabytes—but comes with many tools pre-configured. For beginners, the standard Python installation is often the better starting point.

Finally, you should have internet access to obtain the Python installer. The installation files are downloaded from the internet, though you can also download them on one computer and transfer them to another via USB drive or other methods if needed.

Practical Takeaway: Before installing, verify your operating system, confirm you have adequate disk space (at least 200 megabytes), understand your access permissions, and decide whether you want the standard Python installation or a distribution package like Anaconda.

Step-by-Step Installation on Windows

For Windows users, the most straightforward approach involves visiting python.org and obtaining the installer. Navigate to the Downloads section and select the latest Python 3 version. You'll see options for different versions—choose the one labeled as the stable release, which is the most recent version that has been tested thoroughly. Download the Windows installer executable file (typically named something like python-3.x.x-amd64.exe for 64-bit computers or python-3.x.x.exe for 32-bit computers). Most modern computers run 64-bit versions, but if you're unsure, check your computer's system properties.

Once the installer file is downloaded, locate it in your Downloads folder and double-click it to run the installation. A window will appear asking you to choose between "Install Now" or "Customize installation." The "Install Now" option works well for most users and installs Python with standard settings in your Program Files folder. During this process, you'll see an important checkbox labeled "Add Python 3.x to PATH." Make sure this box is checked—this step allows you to run Python from your command prompt or terminal, which you'll need for using Python effectively.

The installation process takes just a few minutes. Once it's complete, you'll see a message confirming the installation was successful. At this point, you can verify that Python installed correctly by opening Command Prompt (search for "cmd" in your Start menu) and typing the command: python --version. If Python installed correctly, this command will display the version number you installed, such as "Python 3.11.0."

If you chose the "Customize installation" option, you'll see additional screens allowing you to select optional components. For most beginners, the default selections are fine. These optional components include things like documentation files and development headers, which may be useful later but aren't necessary to get started. The customization screen also lets you choose the installation location, but again, the default location works well for most users.

A common issue Windows users encounter is an error message saying "Python is not recognized as an internal or external command." This typically means the PATH variable wasn't set properly during installation. If this happens, you can add Python to PATH manually through your system environment variables, or you can reinstall Python and make sure to check the "Add Python to PATH" checkbox this time.

Practical Takeaway: Windows installation involves downloading the installer from python.org, running the executable file, ensuring "Add Python to PATH" is checked, and verifying installation by typing "python --version" in Command Prompt.

Step-by-Step Installation on macOS

macOS users have several options for installing Python. The first method involves using the official installer from python.org, similar to the Windows process. Visit python.org, go to Downloads, and select the macOS installer. You'll typically see options for both Intel and Apple Silicon (M1/M2) processors. Choose the version that matches your Mac's processor. If you're not sure which processor your Mac has, click the Apple menu, select "About This Mac," and look for the "Chip" information. Apple Silicon is newer and appears in Mac computers manufactured after late 2020.

Download the installer file (usually named something like python-3.x.x-macos11.pkg) and double-click it to begin installation. Follow the prompts through the installer window. The installation process is straightforward and typically takes just a few minutes. Once complete, you can verify the installation by opening Terminal (found in Applications > Utilities) and typing: python3 --version. Note that on macOS, you often need to type "python3" rather than just "python" because macOS comes with an older version of Python 2 that the system uses for its own purposes.

An alternative method many macOS users prefer is installing Python through Homebrew, which is a package manager for macOS. Homebrew allows you to install and manage software from your Terminal. If you already have Homebrew installed, you can install Python by opening Terminal and typing: brew install python. This method is less common for beginners but offers advantages for users who want to manage multiple programming tools. If you're new to macOS development tools, the official installer from

🥝

More guides on the way

Browse our full collection of free guides on topics that matter.

Browse All Guides →