The Complete Guide to Installing Python and Anaconda on Windows

R
Roman Swai
June 29, 2026
7 min read
Featured
The Complete Guide to Installing Python and Anaconda on Windows
Ready to start coding or dive into data science? This step-by-step guide walks you through installing standalone Python for general software development and the Anaconda distribution for data science on your Windows machine.

Setting up your Windows environment for Python development and data science is straightforward. This guide covers two methods: installing standard Python for general programming, and installing Anaconda, which is the industry standard for data science and machine learning (and includes Python by default).

Part 1: Installing Standalone Python

If you are focusing on general software development, web development, or automation, installing standard Python is the best approach.

Step 1: Download the Installer

  1. Open your web browser and navigate to the official Python website: python.org/downloads.

  2. The website will automatically detect your operating system. Click the prominent button that says Download Python [latest version].

  3. Wait for the .exe file to finish downloading.

Step 2: Run the Installer (Crucial Step)

  1. Locate the downloaded .exe file in your Downloads folder and double-click it.

  2. Important: Before clicking "Install Now", look at the bottom of the installation window. You MUST check the box that says "Add Python.exe to PATH". Skipping this will prevent you from running Python from your command line.

  3. Click Install Now.

  4. If Windows asks for permission to make changes, click Yes.

  5. Once the installation finishes, click Close.

Step 3: Verify the Installation

  1. Press the Windows key, type cmd, and press Enter to open the Command Prompt.

  2. Type python --version and press Enter. You should see the installed Python version printed out.

  3. Type pip --version to ensure the Python package manager was also installed correctly.

Part 2: Installing Anaconda Distribution

If your focus is on data science, data analysis, or machine learning, Anaconda is the recommended route. It automatically installs Python, Jupyter Notebooks, Spyder IDE, and hundreds of the most popular data science libraries (like NumPy, Pandas, and SciPy).

Step 1: Download Anaconda

  1. Go to the official Anaconda website: anaconda.com/download.

  2. Click the Download button. Ensure it is downloading the Windows installer (64-bit).

Step 2: Run the Installation Wizard

  1. Double-click the downloaded Anaconda .exe file.

  2. Click Next to start the setup, then I Agree to the license terms.

  3. Select Just Me (recommended) unless you need it for all user profiles on the computer, and click Next.

  4. Choose the destination folder (the default is usually fine) and click Next.

  5. Advanced Options: You will be presented with a few checkboxes.

    • Check Create Start Menu Shortcuts.

    • Check Register Anaconda3 as my default Python.

    • Note: Anaconda usually recommends against adding it to your PATH variable directly during installation to avoid conflicts with other software. Instead, you will use the Anaconda Prompt.

  6. Click Install. This process can take several minutes due to the large number of packages included.

  7. Click Next and then Finish when complete.

Step 3: Verify Anaconda Setup

  1. Press the Windows key and search for Anaconda Navigator. Open the application.

  2. This graphical interface allows you to easily launch tools like Jupyter Notebook without using the command line.

  3. Alternatively, search for Anaconda Prompt in your Windows menu. Open it, type conda list, and hit Enter. You will see a massive list of all the pre-installed data science packages.

R
Written by
Roman Swai

Contributor at OpenGeoCity Tanzania, sharing geospatial insights and stories that shape resilient cities.

Discussion

Join the conversation and share your thoughts.

Leave a comment

S
Shabani Magawila
June 29, 2026

Thanks for posting this,

Stay in the Loop

Join our mailing list to get the latest updates on Tanzanian geospatial data and OGC-TZ projects.