Last modified: May 25, 2025 By Alexander Williams

How to Install Python on Windows, macOS, Linux

Python is a popular programming language. It is easy to learn and powerful. This guide will help you install Python on Windows, macOS, and Linux.

Installing Python on Windows

Follow these steps to install Python on Windows.

First, download Python from the official website. Go to python.org/downloads. Choose the latest version.

Run the downloaded installer. Check the box that says Add Python to PATH. This makes Python accessible from the command line.

Click Install Now. Wait for the installation to finish. Verify the installation by opening Command Prompt and typing:


python --version


Python 3.11.4

If you see the version number, Python is installed correctly. For more details, check our Installing Plone 6 guide.

Installing Python on macOS

macOS usually comes with Python pre-installed. However, it may be an older version. To install the latest version, follow these steps.

Download Python from python.org/downloads. Choose the macOS installer.

Open the downloaded file. Follow the installation steps. Verify the installation by opening Terminal and typing:


python3 --version


Python 3.11.4

If you need to install additional libraries, see our guide on installing Whisper in Python.

Installing Python on Linux

Most Linux distributions come with Python pre-installed. To check, open Terminal and type:


python3 --version

If Python is not installed, use the package manager. For Ubuntu/Debian, run:


sudo apt update
sudo apt install python3

For Fedora, use:


sudo dnf install python3

After installation, verify it by checking the version. For advanced setups, refer to our SpeechRecognition installation guide.

Conclusion

Installing Python is simple. Follow the steps for your operating system. Always verify the installation. Now you are ready to start coding in Python.